Exemplo n.º 1
0
def where_config_builtin(ctx: click.Context) -> None:
    """Locate a CLI configuration file (defaults to the active file)."""

    handler(config_where.ConfigWhereCommand,
            config_file=ctx.obj["config_file"])
Exemplo n.º 2
0
def validate_config_builtin(ctx: click.Context) -> None:
    """Validate a CLI configuration file (defaults to the active file)."""

    handler(config_validate.ConfigValidateCommand,
            config_file=ctx.obj["config_file"])
Exemplo n.º 3
0
def version_config_builtin(ctx: click.Context) -> None:
    """Find a CLI configuration file's version (defaults to the active file)."""

    handler(config_version.ConfigVersionCommand,
            config_file=ctx.obj["config_file"])
Exemplo n.º 4
0
def show_config_builtin(ctx: click.Context) -> None:
    """Display a CLI configuration file (defaults to the active file)."""

    handler(config_show.ConfigShowCommand, config_file=ctx.obj["config_file"])
Exemplo n.º 5
0
def version_container_builtin() -> None:
  """Display the current container version."""

  handler(container_version.ContainerVersionCommand)
Exemplo n.º 6
0
def validate_container_builtin() -> None:
  """Validate the current container is compatible with the CLI."""

  handler(container_validate.ContainerValidateCommand)
Exemplo n.º 7
0
def setup_container_builtin() -> None:
  """Copy file assets to setup the development container."""

  handler(container_setup.ContainerSetupCommand)
Exemplo n.º 8
0
def version_builtin() -> None:
    """Display the current CLI version."""

    handler(version.VersionCommand)