Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clack 2.0.0b9 : output format always py #13

Open
mirfilip opened this issue Mar 9, 2018 · 1 comment
Open

Clack 2.0.0b9 : output format always py #13

mirfilip opened this issue Mar 9, 2018 · 1 comment

Comments

@mirfilip
Copy link

mirfilip commented Mar 9, 2018

$ 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

@mirfilip
Copy link
Author

mirfilip commented Mar 9, 2018

Also, readme says env var to change this is CLACK_OUTPUT but it's actually FORMAT. Doesn't work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant