func AddKeyCommands()

in cli/key_cmds.go [81:98]


func AddKeyCommands(cmd *cobra.Command) {
	keyCmd := &cobra.Command{
		Use:   "key",
		Short: "Manipulates image keys",
		Run: func(cmd *cobra.Command, args []string) {
			cmd.Usage()
		},
	}
	cmd.AddCommand(keyCmd)

	showCmd := &cobra.Command{
		Use:   "show <key-file> [key-files...]",
		Short: "Displays JSON describing one or more keys",
		Run:   runKeyShowCmd,
	}

	keyCmd.AddCommand(showCmd)
}