disable auth check for att trusted-root cmd
Signed-off-by: Brian DeHamer <bdehamer@github.com>
This commit is contained in:
parent
2e13ec5d80
commit
8e8fc696f1
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ func NewTrustedRootCmd(f *cmdutil.Factory, runF func(*Options) error) *cobra.Com
|
|||
},
|
||||
}
|
||||
|
||||
cmdutil.DisableAuthCheck(&trustedRootCmd)
|
||||
trustedRootCmd.Flags().StringVarP(&opts.TufUrl, "tuf-url", "", "", "URL to the TUF repository mirror")
|
||||
trustedRootCmd.Flags().StringVarP(&opts.TufRootPath, "tuf-root", "", "", "Path to the TUF root.json file on disk")
|
||||
trustedRootCmd.MarkFlagsRequiredTogether("tuf-url", "tuf-root")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue