mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-26 15:02:55 +00:00
This pulls in another slew of other packages. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
18 lines
354 B
Go
18 lines
354 B
Go
package cli
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
const (
|
|
// CliDirEnvVar is the environment variable that points to where the cli config folders are.
|
|
CliDirEnvVar = "INFRAKIT_CLI_DIR"
|
|
)
|
|
|
|
// Modules provides access to CLI module discovery
|
|
type Modules interface {
|
|
|
|
// List returns a list of preconfigured commands
|
|
List() ([]*cobra.Command, error)
|
|
}
|