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

Datasette --help should show something more useful than "Datasette!" #1450

Closed
simonw opened this issue Aug 28, 2021 · 1 comment
Closed

Datasette --help should show something more useful than "Datasette!" #1450

simonw opened this issue Aug 28, 2021 · 1 comment

Comments

@simonw
Copy link
Owner

simonw commented Aug 28, 2021

datasette/datasette/cli.py

Lines 122 to 127 in a1a33bb

@click.group(cls=DefaultGroup, default="serve", default_if_no_args=True)
@click.version_option(version=__version__)
def cli():
"""
Datasette!
"""

Originally spotted by @simonw in #1449 (comment)

~ % datasette --help
Usage: datasette [OPTIONS] COMMAND [ARGS]...

  Datasette!

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.
@simonw
Copy link
Owner Author

simonw commented Aug 28, 2021

I'll go with this:

% datasette --help
Usage: datasette [OPTIONS] COMMAND [ARGS]...

  Datasette is an open source multi-tool for exploring and publishing data

  About Datasette: https://datasette.io/
  Full documentation: https://docs.datasette.io/

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

@simonw simonw closed this as completed in 3655bb4 Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant