mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-24 14:08:12 +08:00
Improve CLI help (#1025)
* launch option changes * more CLI help improvements * change plot help * additional changes requested * change metavars for options and subcommand
This commit is contained in:
+11
-2
@@ -4,8 +4,17 @@ from .launch import launch
|
||||
from .prepare import prepare
|
||||
|
||||
|
||||
@click.group(name="cellxgene", context_settings=dict(max_content_width=85))
|
||||
@click.version_option(version="0.12.0", prog_name="cellxgene", message="[%(prog)s] Version %(version)s")
|
||||
@click.group(name="cellxgene",
|
||||
subcommand_metavar="COMMAND <args>",
|
||||
options_metavar="<options>",
|
||||
context_settings=dict(max_content_width=85,
|
||||
help_option_names=['-h', '--help']))
|
||||
@click.help_option("--help", "-h", help="Show this message and exit.")
|
||||
@click.version_option(
|
||||
version="0.12.0",
|
||||
prog_name="cellxgene",
|
||||
message="[%(prog)s] Version %(version)s",
|
||||
help="Show the software version and exit.")
|
||||
def cli():
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user