Documentation ¶
Index ¶
Constants ¶
View Source
const ( Name = "docker-cli-plugin-metadata" Usage = "Plugin metadata for the docker cli" )
Variables ¶
View Source
var CLI = &cli.Command{ Category: "internal.metadata", Name: Name, Usage: Usage, Action: func(ctx *cli.Context) error { metadata := pluginMetadata{ SchemaVersion: "0.1.0", Vendor: "SlimToolkit", Version: version.Current(), ShortDescription: "SlimToolkit commands (build=minify, xray=static analyze, profile=dynamic analyze, lint=validate, more)", URL: "https://dockersl.im", } encoder := json.NewEncoder(os.Stdout) encoder.SetIndent("", " ") encoder.Encode(metadata) return nil }, }
Functions ¶
func RegisterCommand ¶
func RegisterCommand()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.