"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pkg/cmd/secret/secret.go" between
gh-cli-1.10.3.tar.gz and gh-cli-1.11.0.tar.gz

About: GitHub CLI is GitHub’s official command line tool.

secret.go  (gh-cli-1.10.3):secret.go  (gh-cli-1.11.0)
skipping to change at line 18 skipping to change at line 18
cmdList "github.com/cli/cli/pkg/cmd/secret/list" cmdList "github.com/cli/cli/pkg/cmd/secret/list"
cmdRemove "github.com/cli/cli/pkg/cmd/secret/remove" cmdRemove "github.com/cli/cli/pkg/cmd/secret/remove"
cmdSet "github.com/cli/cli/pkg/cmd/secret/set" cmdSet "github.com/cli/cli/pkg/cmd/secret/set"
) )
func NewCmdSecret(f *cmdutil.Factory) *cobra.Command { func NewCmdSecret(f *cmdutil.Factory) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "secret <command>", Use: "secret <command>",
Short: "Manage GitHub secrets", Short: "Manage GitHub secrets",
Long: heredoc.Doc(` Long: heredoc.Doc(`
Secrets can be set at the repository or organization leve Secrets can be set at the repository, environment, or org
l for use in GitHub Actions. anization level for use in
Run "gh help secret set" to learn how to get started. GitHub Actions. Run "gh help secret set" to learn how to
get started.
`), `),
} }
cmdutil.EnableRepoOverride(cmd, f) cmdutil.EnableRepoOverride(cmd, f)
cmd.AddCommand(cmdList.NewCmdList(f, nil)) cmd.AddCommand(cmdList.NewCmdList(f, nil))
cmd.AddCommand(cmdSet.NewCmdSet(f, nil)) cmd.AddCommand(cmdSet.NewCmdSet(f, nil))
cmd.AddCommand(cmdRemove.NewCmdRemove(f, nil)) cmd.AddCommand(cmdRemove.NewCmdRemove(f, nil))
return cmd return cmd
 End of changes. 1 change blocks. 
3 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)