cuba-weather-python icon indicating copy to clipboard operation
cuba-weather-python copied to clipboard

verbose output

Open glpzzz opened this issue 5 years ago • 2 comments

on param -v present output with the explanatory text and without it, just the value, one per line: Example

> ./weather` -vt Cienfuegos
Temperature: 17.41°C
> ./weather` -t Cienfuegos
17.41

glpzzz avatar Jan 06 '20 06:01 glpzzz

Is this Issue a request for a new feature?

leynier avatar Jan 09 '20 06:01 leynier

Yes, but we need to think it better. -v is already used for version. We need another letter and concept.

I'm thinking more on a formatting like thing. For example -f "temp: /t grados" will output "temp: 35 grados". Un this way we can create simple and complex outputs.

Ideas?

glpzzz avatar Jan 09 '20 07:01 glpzzz