Skip to content

improvement: call from terminal #32

@GildasLepennetier

Description

@GildasLepennetier

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions