rm extra lazy group. Rename to command to parquet

main
Jeff Moe 2023-10-07 16:31:41 -06:00
parent 3c47a42bc5
commit 162d9be21b
4 changed files with 6 additions and 7 deletions

View File

@ -40,7 +40,7 @@ gbif-cruft
Help:
```
$ gbif-cruft --help
$ gbif-cruft
Usage: gbif-cruft [OPTIONS] COMMAND [ARGS]...
Options:
@ -48,7 +48,7 @@ Options:
-h, --help Show this message and exit.
Commands:
filedb
parquet
search
```
@ -62,11 +62,11 @@ Options:
-h, --help Show this message and exit.
```
File DB help:
Parquet help:
```
$ gbif-cruft filedb --help
Usage: gbif-cruft filedb [OPTIONS] [FILENAME]
$ gbif-cruft parquet --help
Usage: gbif-cruft parquet [OPTIONS] [FILENAME]
Options:
-h, --help Show this message and exit.

View File

@ -9,7 +9,7 @@ from gbif_cruft.lazy_group import LazyGroup
@click.version_option(version=__version__, prog_name="gbif-cruft")
@click.group(
cls=LazyGroup,
lazy_subcommands={"search": "search.cli", "filedb": "filedb.cli"},
lazy_subcommands={"search": "search.cli", "parquet": "parquet.cli"},
context_settings={"help_option_names": ["-h", "--help"]},
)

View File

@ -1 +0,0 @@
../lazy_group.py