def add_subparser(subparsers):
_parser = subparsers.add_parser("license", description="QuantRocket license service CLI", help="quantrocket license -h")
_subparsers = _parser.add_subparsers(title="subcommands", dest="subcommand")
_subparsers.required = True
examples = """
Return the current license profile.
Examples:
View the current license profile:
quantrocket license get
"""
parser = _subparsers.add_parser(
"get",
help="return the current license profile",
epilog=examples,
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.set_defaults(func="quantrocket.license._cli_get_license_profile")
评论列表
文章目录