From 43285790b89161f291747b9bffb860c2ffe97c1c Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Wed, 15 May 2024 15:07:06 +0300 Subject: [PATCH] Update artifactory/cli.go Co-authored-by: Yahav Itschak --- artifactory/cli.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/artifactory/cli.go b/artifactory/cli.go index 345838999..43b3fa110 100644 --- a/artifactory/cli.go +++ b/artifactory/cli.go @@ -121,14 +121,16 @@ import ( "github.com/urfave/cli" ) -const filesCategory = "Files Management" -const buildCategory = "Build Info" -const repoCategory = "Repository Management" -const replicCategory = "Replication" -const permCategory = "Permission Targets" -const userCategory = "User Management" -const transferCategory = "Transfer Between Artifactory Instances" -const otherCategory = "Other" +const ( + filesCategory = "Files Management" + buildCategory = "Build Info" + repoCategory = "Repository Management" + replicCategory = "Replication" + permCategory = "Permission Targets" + userCategory = "User Management" + transferCategory = "Transfer Between Artifactory Instances" + otherCategory = "Other" +) func GetCommands() []cli.Command { return cliutils.GetSortedCommands(cli.CommandsByName{