Open mirfilip opened 6 years ago
$ clack --version Clack-2.0.0b9 $ clack call -e my_env /videos/list '{"limit": 1}' Call settings: api type : ms1 api host : https://api.jwplatform.com verify ssl : True endpoint : videos/list params : {"limit": 1} key/username : key secret : ******** output format : py $ clack call --output json -e my_env /videos/list '{"limit": 1}' Call settings: api type : ms1 api host : https://api.jwplatform.com verify ssl : True endpoint : videos/list params : {"limit": 1} key/username : key secret : ******** output format : py $ clack call -o json -e my_env /videos/list '{"limit": 1}' Call settings: api type : ms1 api host : https://api.jwplatform.com verify ssl : True endpoint : videos/list params : {"limit": 1} key/username : key secret : ******** output format : py
I cut the actual response from the listing, but it's indeed py. Same works for 1.x.x
py
1.x.x
Also, readme says env var to change this is CLACK_OUTPUT but it's actually FORMAT. Doesn't work either.
CLACK_OUTPUT
FORMAT
I cut the actual response from the listing, but it's indeed
py
. Same works for1.x.x