mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-22 23:51:16 +00:00
23 lines
628 B
Go
23 lines
628 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/rsteube/carapace-bin/pkg/actions/tools/docker"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var image_inspectCmd = &cobra.Command{
|
|
Use: "inspect [OPTIONS] IMAGE [IMAGE...]",
|
|
Short: "Display detailed information on one or more images",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(image_inspectCmd).Standalone()
|
|
|
|
image_inspectCmd.Flags().StringP("format", "f", "", "Format output using a custom template:")
|
|
imageCmd.AddCommand(image_inspectCmd)
|
|
|
|
carapace.Gen(image_inspectCmd).PositionalAnyCompletion(docker.ActionRepositoryTags())
|
|
}
|