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

neonctl shouldn't print Global Options when it prints help #276

Open
jamesbroadhead opened this issue Sep 18, 2024 · 0 comments
Open

neonctl shouldn't print Global Options when it prints help #276

jamesbroadhead opened this issue Sep 18, 2024 · 0 comments

Comments

@jamesbroadhead
Copy link

jamesbroadhead commented Sep 18, 2024

Steps to reproduce

neonctl project -- I type this to learn how to make a full command

Expected result

Commands:
neonctl project list
└────────────────>  List projects
neonctl project create
└────────────────>  Create a project
neonctl project update <id>
└────────────────>  Update a project
neonctl project delete <id>
└────────────────>  Delete a project
neonctl project get <id>
└────────────────>  Get a project

Actual result

neonctl project list
└────────────────>  List projects
neonctl project create
└────────────────>  Create a project
neonctl project update <id>
└────────────────>  Update a project
neonctl project delete <id>
└────────────────>  Delete a project
neonctl project get <id>
└────────────────>  Get a project

Global options:
-o, --output
└────────────────>  Set output format [string] [choices: "json", "yaml", "table"] [default: "table"]
--config-dir
└────────────────>  Path to config directory [string] [default: "/Users/jbo/.config/neonctl"]
--api-key
└────────────────>  API key [string] [default: ""]
--color
└────────────────>  Colorize the output. Example: --no-color, --color false [boolean] [default: true]
-h, --help
└────────────────>  Show help [boolean] [default: false]
--analytics
└────────────────>  Manage analytics. Example: --no-analytics, --analytics false [boolean] [default: true]
-v, --version
└────────────────>  Show version number [boolean]

Options:
--context-file
└────────────────>  Context file [string] [default: (current-context-file)]```


Result: I see a bunch of options that are in the way of the info that I want 
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