Skip to content

Help output missing for --org #10

Description

@TraceyC77

The --org flag was added as a mandatory argument
There is no information about it in --help

Also, the error is misleading. I hadn't typed --org so why would it require an argument?
This should be reworded to be more clear

Finally, it would be useful to add something like eopkg has to let the user know they can get help on specific commands and the proper syntax to do so ex:

Use "eopkg help <command>" for help on a specific command.

 ~/s/i/oc-emails   update_for_ocexport ±  oc-export export      
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────╮
│ Command "export" parameter "--org" requires an argument.                                     │
╰──────────────────────────────────────────────────────────────────────────────────────────────╯
 ✘  ~/s/i/oc-emails   update_for_ocexport ±  oc-export --help      
Usage: oc-export COMMAND

╭─ Commands ───────────────────────────────────────────────────────────────────────────────────╮
│ export        Exports Open Collective backer names and email addresses to CSV files per      │
│               tier.                                                                          │
│ list-backers  Lists all current backers (backers with monthly donations) for a given Open    │
│               Collective organization.                                                       │
│ list-tiers    Lists all valid tiers for a given Open Collective organization.                │
│ set-token     Adds your Open Collective token to the system keyring for future use.          │
│ --help (-h)   Display this message and exit.                                                 │
│ --version     Display application version.                                                   │
╰──────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Global Parameters ──────────────────────────────────────────────────────────────────────────╮
│ --debug --no-debug  [default: False]                                                         │
╰──────────────────────────────────────────────────────────────────────────────────────────────╯                                        

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions