cli

package
v1.15.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 31 Imported by: 0

Documentation

Overview

Package cli contains all the subcommands for the CLI

Root level ace-dt CLI handler, based on Cobra command handler library.

Individual commands are implemented as subcommands similar to git, kubectl, docker, etc Each of these subcommands are managed by a separate command .go file, and provide their own options and argument validation as appropriate. In most cases, the work is then farmed out to an appropriate package (in pkg). This enables the pkg code to be used as a library by other tools if desired, and modified independently from the rest of the app

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewToolCmd

func NewToolCmd(version string) *cobra.Command

NewToolCmd returns a command that represents the root command ace-dt.

Types

This section is empty.

Directories

Path Synopsis
Package bottle provides command and subcommands for manipulating bottles and bottle metadata.
Package bottle provides command and subcommands for manipulating bottles and bottle metadata.
Package git defines general git operations backed by oras.
Package git defines general git operations backed by oras.
internal
flag
Package flag defines a command flag for specifying a telemetry URL.
Package flag defines a command flag for specifying a telemetry URL.
functesting
Package functesting provides helper utilities for facilitating functional and integration tests.
Package functesting provides helper utilities for facilitating functional and integration tests.
ui
Package ui provides UI helpers for the CLI.
Package ui provides UI helpers for the CLI.
Package mirror provides commands for mirroring OCI and Bottle objects.
Package mirror provides commands for mirroring OCI and Bottle objects.
Package oci defines commands for general purpose oci manipulation back by oras.
Package oci defines commands for general purpose oci manipulation back by oras.
Package pypi declares pypi related commands, such as serving an OCI backed pypi registry, and performing a sync.
Package pypi declares pypi related commands, such as serving an OCI backed pypi registry, and performing a sync.
Package sbom contains the ace-dt sbom commands
Package sbom contains the ace-dt sbom commands
Package security contains the ace-dt security subcommands.
Package security contains the ace-dt security subcommands.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL