Esempio 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"])
Esempio 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"])
Esempio 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"])
Esempio 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"])
def version_container_builtin() -> None:
  """Display the current container version."""

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

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

  handler(container_setup.ContainerSetupCommand)
def version_builtin() -> None:
    """Display the current CLI version."""

    handler(version.VersionCommand)