Skip to content

Commit

Permalink
Deprecate the 'jf rt atc' command (#2477)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi committed Mar 14, 2024
1 parent 2f0e0c9 commit dbbc8a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion artifactory/cli.go
Expand Up @@ -885,14 +885,17 @@ func GetCommands() []cli.Command {
},
{
Name: "access-token-create",
Hidden: true,
Aliases: []string{"atc"},
Flags: cliutils.GetCommandFlags(cliutils.ArtifactoryAccessTokenCreate),
Usage: accesstokencreate.GetDescription(),
HelpName: corecommon.CreateUsage("rt atc", accesstokencreate.GetDescription(), accesstokencreate.Usage),
UsageText: accesstokencreate.GetArguments(),
ArgsUsage: common.CreateEnvVars(),
BashComplete: corecommon.CreateBashCompletionFunc(),
Action: artifactoryAccessTokenCreateCmd,
Action: func(c *cli.Context) error {
return cliutils.RunCmdWithDeprecationWarning("atc", "rt", c, artifactoryAccessTokenCreateCmd)
},
},
{
Name: "transfer-settings",
Expand Down

0 comments on commit dbbc8a8

Please sign in to comment.