nb_cli.cli.customize
class ClickAliasedCommand(*args, **kwargs)
ๅๆฐ
*args
**kwargs
class ClickAliasedGroup(*args, **kwargs)
ๅๆฐ
*args
**kwargs
method add_aliases(self, cmd_name, aliases)
ๅๆฐ
cmd_name
(str)aliases
(list[str])
่ฟๅ
- None
method add_command(self, cmd, name=None)
ๅๆฐ
cmd
(click.core.Command)name
(str | None)
่ฟๅ
- None
method command(self, *args, **kwargs)
ๅๆฐ
*args
**kwargs
่ฟๅ
- Unknown
method format_commands(self, ctx, formatter)
ๅๆฐ
ctx
(click.core.Context)formatter
(click.formatting.HelpFormatter)
่ฟๅ
- Unknown
method get_command(self, ctx, cmd_name)
ๅๆฐ
ctx
(click.core.Context)cmd_name
(str)
่ฟๅ
- Unknown
method group(self, *args, **kwargs)
ๅๆฐ
*args
**kwargs
่ฟๅ
- Unknown
method list_commands(self, ctx)
ๅๆฐ
ctx
(click.core.Context)
่ฟๅ
- list[str]
method resolve_alias(self, cmd_name)
ๅๆฐ
cmd_name
่ฟๅ
- Unknown
class CLIMainGroup(*args, **kwargs)
ๅๆฐ
*args
**kwargs
method get_command(self, ctx, cmd_name)
ๅๆฐ
ctx
(click.core.Context)cmd_name
(str)
่ฟๅ
- click.core.Command | None
method list_commands(self, ctx)
ๅๆฐ
ctx
(click.core.Context)
่ฟๅ
- list[str]