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

Do not show hidden options #29

Open
derlin opened this issue May 26, 2023 · 4 comments
Open

Do not show hidden options #29

derlin opened this issue May 26, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@derlin
Copy link

derlin commented May 26, 2023

An option that is configured with hidden=True should not appear in the TUI.

Minimal example:

@tui()
@click.command()
@click.option("-f", "--foo", default=False, is_flag=True, hidden=False)
@click.option("-b", "--bar", default=False, is_flag=True, hidden=True)
def cli(foo, bar):
   pass

In the above, foo should appear, but bar shouldn't.

(By the way, keep up the good work, the fixes in 0.4.0 are awesome!)

@derlin
Copy link
Author

derlin commented Feb 6, 2024

Still no news on this one?

@derlin

This comment has been minimized.

@daneah daneah added the enhancement New feature or request label Sep 20, 2024
@derlin

This comment has been minimized.

@gaby
Copy link

gaby commented Oct 5, 2024

@daneah This is probably fixed by this PR #32

Nvmd, similar but not same field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants