mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 20:57:56 +08:00
* launch option changes * more CLI help improvements * change plot help * additional changes requested * change metavars for options and subcommand
24 lines
632 B
Python
24 lines
632 B
Python
import click
|
|
|
|
from .launch import launch
|
|
from .prepare import prepare
|
|
|
|
|
|
@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
|
|
|
|
|
|
cli.add_command(launch)
|
|
cli.add_command(prepare)
|