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

Confusing output with --help #21

Open
davep opened this issue Sep 8, 2023 · 0 comments
Open

Confusing output with --help #21

davep opened this issue Sep 8, 2023 · 0 comments

Comments

@davep
Copy link
Contributor

davep commented Sep 8, 2023

If I run textual-web --help I see this:

Usage: textual-web [OPTIONS]

  Main entry point for the CLI.

  Args:     config: Path to config.     environment: environment switch.
  devtools: Enable devtools.     terminal: Enable a terminal.     api_key: API
  key.     signup: Signup dialog.     welcome: Welcome app.     merlin: Merlin
  app.

Options:
  --version                       Show the version and exit.
  -c, --config PATH               Location of TOML config file.
  -e, --environment [prod|local|dev]
                                  Environment switch.
  -a, --api-key TEXT              API key
  -r, --run COMMAND               Command to run a Textual app.
  --dev                           Enable devtools in Textual apps.
  -t, --terminal                  Publish a remote terminal on a random URL.
  -s, --signup                    Create a textual-web account.
  --welcome                       Launch an example app.
  --merlin                        Launch Merlin game.
  --help                          Show this message and exit.

The text before the list of options seems confusing, almost looking like a leaky docstring or something.

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