File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 44 "github.com/jfrog/jfrog-cli-application/apptrust/app"
55 "github.com/jfrog/jfrog-cli-application/apptrust/commands"
66 "github.com/jfrog/jfrog-cli-application/apptrust/commands/utils"
7+ "github.com/jfrog/jfrog-cli-application/apptrust/common"
78 "github.com/jfrog/jfrog-cli-application/apptrust/model"
89 "github.com/jfrog/jfrog-cli-application/apptrust/service"
910 "github.com/jfrog/jfrog-cli-application/apptrust/service/packages"
@@ -57,7 +58,8 @@ func GetBindPackageCommand(appContext app.Context) components.Command {
5758 cmd := & bindPackageCommand {packageService : appContext .GetPackageService ()}
5859 return components.Command {
5960 Name : commands .PackageBind ,
60- Description : "Bind packages to an application." ,
61+ Description : "Bind packages to an application" ,
62+ Category : common .CategoryPackage ,
6163 Aliases : []string {"pb" },
6264 Arguments : []components.Argument {
6365 {
Original file line number Diff line number Diff line change 44 "github.com/jfrog/jfrog-cli-application/apptrust/app"
55 "github.com/jfrog/jfrog-cli-application/apptrust/commands"
66 "github.com/jfrog/jfrog-cli-application/apptrust/commands/utils"
7+ "github.com/jfrog/jfrog-cli-application/apptrust/common"
78 "github.com/jfrog/jfrog-cli-application/apptrust/model"
89 "github.com/jfrog/jfrog-cli-application/apptrust/service"
910 "github.com/jfrog/jfrog-cli-application/apptrust/service/packages"
@@ -57,7 +58,8 @@ func GetUnbindPackageCommand(appContext app.Context) components.Command {
5758 cmd := & unbindPackageCommand {packageService : appContext .GetPackageService ()}
5859 return components.Command {
5960 Name : commands .PackageUnbind ,
60- Description : "Unbind packages from an application." ,
61+ Description : "Unbind packages from an application" ,
62+ Category : common .CategoryPackage ,
6163 Aliases : []string {"pu" },
6264 Arguments : []components.Argument {
6365 {
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package common
22
33const (
44 CategorySystem = "system"
5- CategoryVersion = "version"
65 CategoryApplication = "application"
6+ CategoryVersion = "version"
7+ CategoryPackage = "package"
78)
You can’t perform that action at this time.
0 commit comments