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

Styling metavars, default values, env var, choices... #97

Open
3 tasks
janluke opened this issue Oct 9, 2021 · 0 comments
Open
3 tasks

Styling metavars, default values, env var, choices... #97

janluke opened this issue Oct 9, 2021 · 0 comments
Labels
enhancement New feature or request low priority

Comments

@janluke
Copy link
Owner

janluke commented Oct 9, 2021

This feature can be implemented in multiple PRs but it's likely that the required changes for styling one of the elements will make easy to style the others. In that case, a single PR will probably be enough.

  • metavars (including choices)
  • default values
  • environmnent variables.

Originally proposed in #95. Closed that one because it proposes a specific regex-based approach that I think it's not suitable for Cloup. This issue is for discussing different approaches, just in case anyone would like to.

Questions:

  • is the needed work worth it or the current theming is good enough?
  • given that, in theory, Click will have a new formatting system soon or later, is this the right time to implement this feature?
  • wouldn't be better to change approach completely and show a web page when the user type --help and there's a browser available (similarly to git)? Command line will never be more readable :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

1 participant