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

improvement: call from terminal #32

Open
GildasLepennetier opened this issue Jun 19, 2019 · 0 comments
Open

improvement: call from terminal #32

GildasLepennetier opened this issue Jun 19, 2019 · 0 comments

Comments

@GildasLepennetier
Copy link

Hi there.
I am suggesting to add a sheebang to be able to call the function easily from the terminal
#!/usr/bin/env python

Also, I think the 'node' option is not clear in the help. I am not even sure I understood exactly why it is required. Anyway, some improved help would be good:

print ("\nUsage: python json_to_csv.py <node> <json_in_file_path> <csv_out_file_path>\n\n\tnode: node name, prefix for columns names\n")

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