-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Seperate positional only and keyword only arguments in --help
similar to argparse and typer
#30
Comments
Keep the issues coming! I appreciate you using CYclopts, and It's easier to make larger changes at the beginning of a project :D. To be concrete, would the proposed output look like:
I suppose the issue is, where would a |
yes
obvious answer would be a third box maybe? but will it go in between or last? will it be too much clutter? Another option would just be rolling |
So I think this could work (where
|
that looks good, conveys config is both without being too much clutter From my experience, usually CLIs usually have atmost one or two positional only args, with the rest mostly being keyword only or keyword_or_positional. And for |
Closing this issue to centralize discussion over to #39. |
This request is simply an aesthetic change regarding the help screen
argparse and typer seperate the postional and keyword arguments in the help screen. I personally find the seperation to be more readable.
argparse:
typer:
cyclopts:
I have explicitly defined path as positional only and config as keyword only
Apologies if im bombarding you with issues! I've just started to play with cyclopts (really liking it)
The text was updated successfully, but these errors were encountered: