simonw / sqlite-comprehend

Tools for running data in a SQLite database through AWS Comprehend
Apache License 2.0
6 stars 0 forks source link

Installing on Linux (in GitHub Actions) results in no entities command #11

Closed simonw closed 2 years ago

simonw commented 2 years ago

Split from:

Options: --version Show the version and exit. --help Show this message and exit. runner@fv-az371-321:~/work/datasette/datasette$ sqlite-comprehend entities --help Usage: sqlite-comprehend [OPTIONS] COMMAND [ARGS]... Try "sqlite-comprehend --help" for help.

Error: No such command "entities".

simonw commented 2 years ago

From experimenting it looks like this line is at fault: https://github.com/simonw/sqlite-comprehend/blob/8eae623c46a642d26d9a903d3799461f3a8b1800/sqlite_comprehend/cli.py#L14-L18

It should be:

 @cli.command()

No idea why the tests passed or why it worked on my laptop though!