aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/trust.go
blob: 8b02dcdc65a60e9464902eb533397f605430d05c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package main

import (
	"github.com/containers/libpod/cmd/podman/cliconfig"
	"github.com/spf13/cobra"
)

var (
	trustCommand = cliconfig.PodmanCommand{
		Command: &cobra.Command{
			Use:   "trust",
			Short: "Manage container image trust policy",
			Long:  "podman image trust command",
		},
	}
)

func init() {
	trustCommand.SetUsageTemplate(UsageTemplate())
	trustCommand.AddCommand(getTrustSubCommands()...)
	imageCommand.AddCommand(trustCommand.Command)
}