You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ProjectFlag: components.NewStringFlag(ProjectFlag, "Project key associated with the application.", func(f*components.StringFlag) { f.Mandatory=false }),
63
+
ProjectFlag: components.NewStringFlag(ProjectFlag, "Project key associated with the application. This flag is mandatory when the --spec flag is not provided.", func(f*components.StringFlag) { f.Mandatory=false }),
SpecFlag: components.NewStringFlag(SpecFlag, "A path to the specification file.", func(f*components.StringFlag) { f.Mandatory=false }),
77
-
SpecVarsFlag: components.NewStringFlag(SpecVarsFlag, "List of semicolon-separated (;) variables in the form of \"key1=value1;key2=value2;...\" (wrapped by quotes) to be replaced in the File Spec. In the File Spec, the variables should be used as follows: ${key1}.", func(f*components.StringFlag) { f.Mandatory=false }),
ApplicationNameFlag: components.NewStringFlag(ApplicationNameFlag, "The display name of the application.", func(f*components.StringFlag) { f.Mandatory=false }),
80
-
DescriptionFlag: components.NewStringFlag(DescriptionFlag, "The description of the application.", func(f*components.StringFlag) { f.Mandatory=false }),
81
-
BusinessCriticalityFlag: components.NewStringFlag(BusinessCriticalityFlag, "The business criticality level. The following values are supported: "+coreutils.ListToText(model.BusinessCriticalityValues), func(f*components.StringFlag) { f.Mandatory=false }),
82
-
MaturityLevelFlag: components.NewStringFlag(MaturityLevelFlag, "The maturity level.", func(f*components.StringFlag) { f.Mandatory=false }),
83
-
LabelsFlag: components.NewStringFlag(LabelsFlag, "List of semicolon-separated (;) labels in the form of \"key1=value1;key2=value2;...\" (wrapped by quotes).", func(f*components.StringFlag) { f.Mandatory=false }),
84
-
UserOwnersFlag: components.NewStringFlag(UserOwnersFlag, "Comma-separated list of user owners.", func(f*components.StringFlag) { f.Mandatory=false }),
85
-
GroupOwnersFlag: components.NewStringFlag(GroupOwnersFlag, "Comma-separated list of group owners.", func(f*components.StringFlag) { f.Mandatory=false }),
86
-
SigningKeyFlag: components.NewStringFlag(SigningKeyFlag, "The GPG/RSA key-pair name given in Artifactory.", func(f*components.StringFlag) { f.Mandatory=false }),
87
-
SyncFlag: components.NewBoolFlag(SyncFlag, "Whether to synchronize the operation.", components.WithBoolDefaultValueTrue()),
88
-
PromotionTypeFlag: components.NewStringFlag(PromotionTypeFlag, "The promotion type. The following values are supported: "+coreutils.ListToText(model.PromotionTypeValues), func(f*components.StringFlag) { f.Mandatory=false; f.DefaultValue=model.PromotionTypeCopy }),
89
-
DryRunFlag: components.NewBoolFlag(DryRunFlag, "Perform a simulation of the operation.", components.WithBoolDefaultValueFalse()),
90
-
ExcludeReposFlag: components.NewStringFlag(ExcludeReposFlag, "Semicolon-separated list of repositories to exclude.", func(f*components.StringFlag) { f.Mandatory=false }),
91
-
IncludeReposFlag: components.NewStringFlag(IncludeReposFlag, "Semicolon-separated list of repositories to include.", func(f*components.StringFlag) { f.Mandatory=false }),
92
-
PropsFlag: components.NewStringFlag(PropsFlag, "Semicolon-separated list of properties in the form of 'key1=value1;key2=value2;...' to be added to each artifact.", func(f*components.StringFlag) { f.Mandatory=false }),
93
-
TagFlag: components.NewStringFlag(TagFlag, "A tag to associate with the version. Must contain only alphanumeric characters, hyphens (-), underscores (_), and dots (.).", func(f*components.StringFlag) { f.Mandatory=false }),
94
-
BuildsFlag: components.NewStringFlag(BuildsFlag, "List of builds in format 'name1:number1[:timestamp1];name2:number2[:timestamp2]'", func(f*components.StringFlag) { f.Mandatory=false }),
95
-
ReleaseBundlesFlag: components.NewStringFlag(ReleaseBundlesFlag, "List of release bundles in format 'name1:version1;name2:version2'", func(f*components.StringFlag) { f.Mandatory=false }),
96
-
SourceVersionFlag: components.NewStringFlag(SourceVersionFlag, "Source versions in format 'app1:version1;app2:version2'", func(f*components.StringFlag) { f.Mandatory=false }),
97
-
PackagesFlag: components.NewStringFlag(PackagesFlag, "List of packages in format 'name1;name2'", func(f*components.StringFlag) { f.Mandatory=false }),
98
-
PropertiesFlag: components.NewStringFlag(PropertiesFlag, "Sets or updates custom properties for the application version in format 'key1=value1[,value2,...];key2=value3[,value4,...]'", func(f*components.StringFlag) { f.Mandatory=false }),
99
-
DeletePropertyFlag: components.NewStringFlag(DeletePropertyFlag, "Remove a property key and all its values", func(f*components.StringFlag) { f.Mandatory=false }),
SpecFlag: components.NewStringFlag(SpecFlag, "A path to the specification file.", func(f*components.StringFlag) { f.Mandatory=false }),
67
+
SpecVarsFlag: components.NewStringFlag(SpecVarsFlag, "List of semicolon-separated (;) variables in the form of \"key1=value1;key2=value2;...\" (wrapped by quotes) to be replaced in the File Spec. In the File Spec, the variables should be used as follows: ${key1}.", func(f*components.StringFlag) { f.Mandatory=false }),
ApplicationNameFlag: components.NewStringFlag(ApplicationNameFlag, "The display name of the application.", func(f*components.StringFlag) { f.Mandatory=false }),
70
+
DescriptionFlag: components.NewStringFlag(DescriptionFlag, "The description of the application.", func(f*components.StringFlag) { f.Mandatory=false }),
71
+
BusinessCriticalityFlag: components.NewStringFlag(BusinessCriticalityFlag, "The business criticality level. The following values are supported: "+coreutils.ListToText(model.BusinessCriticalityValues), func(f*components.StringFlag) { f.Mandatory=false }),
72
+
MaturityLevelFlag: components.NewStringFlag(MaturityLevelFlag, "The maturity level.", func(f*components.StringFlag) { f.Mandatory=false }),
73
+
LabelsFlag: components.NewStringFlag(LabelsFlag, "List of semicolon-separated (;) labels in the form of \"key1=value1;key2=value2;...\" (wrapped by quotes).", func(f*components.StringFlag) { f.Mandatory=false }),
74
+
UserOwnersFlag: components.NewStringFlag(UserOwnersFlag, "Comma-separated list of user owners.", func(f*components.StringFlag) { f.Mandatory=false }),
75
+
GroupOwnersFlag: components.NewStringFlag(GroupOwnersFlag, "Comma-separated list of group owners.", func(f*components.StringFlag) { f.Mandatory=false }),
76
+
SyncFlag: components.NewBoolFlag(SyncFlag, "Whether to synchronize the operation.", components.WithBoolDefaultValueTrue()),
77
+
PromotionTypeFlag: components.NewStringFlag(PromotionTypeFlag, "The promotion type. The following values are supported: "+coreutils.ListToText(model.PromotionTypeValues), func(f*components.StringFlag) { f.Mandatory=false; f.DefaultValue=model.PromotionTypeCopy }),
78
+
DryRunFlag: components.NewBoolFlag(DryRunFlag, "Perform a simulation of the operation.", components.WithBoolDefaultValueFalse()),
79
+
ExcludeReposFlag: components.NewStringFlag(ExcludeReposFlag, "Semicolon-separated list of repositories to exclude.", func(f*components.StringFlag) { f.Mandatory=false }),
80
+
IncludeReposFlag: components.NewStringFlag(IncludeReposFlag, "Semicolon-separated list of repositories to include.", func(f*components.StringFlag) { f.Mandatory=false }),
81
+
PropsFlag: components.NewStringFlag(PropsFlag, "Semicolon-separated list of properties in the form of 'key1=value1;key2=value2;...' to be added to each artifact.", func(f*components.StringFlag) { f.Mandatory=false }),
82
+
TagFlag: components.NewStringFlag(TagFlag, "A tag to associate with the version. Must contain only alphanumeric characters, hyphens (-), underscores (_), and dots (.).", func(f*components.StringFlag) { f.Mandatory=false }),
83
+
SourceTypeBuildsFlag: components.NewStringFlag(SourceTypeBuildsFlag, "List of semicolon-separated (;) builds in the form of 'name=buildName1, id=runID1, [include-deps=true]; name=buildName2, id=runID2, [include-deps=true]' to be included in the new version.", func(f*components.StringFlag) { f.Mandatory=false }),
84
+
SourceTypeReleaseBundlesFlag: components.NewStringFlag(SourceTypeReleaseBundlesFlag, "List of semicolon-separated (;) release bundles in the form of 'name=releaseBundleName1, version=version1; name=releaseBundleName2, version=version2' to be included in the new version.", func(f*components.StringFlag) { f.Mandatory=false }),
85
+
SourceTypeApplicationVersionsFlag: components.NewStringFlag(SourceTypeApplicationVersionsFlag, "List of semicolon-separated (;) application versions in the form of 'application-key=app1, version=version1; application-key=app2, version=version2' to be included in the new version.", func(f*components.StringFlag) { f.Mandatory=false }),
86
+
PropertiesFlag: components.NewStringFlag(PropertiesFlag, "Sets or updates custom properties for the application version in format 'key1=value1[,value2,...];key2=value3[,value4,...]'", func(f*components.StringFlag) { f.Mandatory=false }),
87
+
DeletePropertyFlag: components.NewStringFlag(DeletePropertyFlag, "Remove a property key and all its values", func(f*components.StringFlag) { f.Mandatory=false }),
100
88
}
101
89
102
90
varcommandFlags=map[string][]string{
@@ -105,14 +93,10 @@ var commandFlags = map[string][]string{
105
93
user,
106
94
accessToken,
107
95
serverId,
108
-
ApplicationKeyFlag,
109
96
TagFlag,
110
-
PackagesFlag,
111
-
PackageTypeFlag,
112
-
PackageRepositoryFlag,
113
-
BuildsFlag,
114
-
ReleaseBundlesFlag,
115
-
SourceVersionFlag,
97
+
SourceTypeBuildsFlag,
98
+
SourceTypeReleaseBundlesFlag,
99
+
SourceTypeApplicationVersionsFlag,
116
100
SpecFlag,
117
101
SpecVarsFlag,
118
102
},
@@ -161,17 +145,13 @@ var commandFlags = map[string][]string{
161
145
accessToken,
162
146
serverId,
163
147
ApplicationKeyFlag,
164
-
PackagesFlag,
165
-
PackageTypeFlag,
166
148
},
167
149
PackageUnbind: {
168
150
url,
169
151
user,
170
152
accessToken,
171
153
serverId,
172
154
ApplicationKeyFlag,
173
-
PackagesFlag,
174
-
PackageTypeFlag,
175
155
},
176
156
177
157
Ping: {
@@ -194,7 +174,6 @@ var commandFlags = map[string][]string{
194
174
LabelsFlag,
195
175
UserOwnersFlag,
196
176
GroupOwnersFlag,
197
-
SigningKeyFlag,
198
177
SpecFlag,
199
178
SpecVarsFlag,
200
179
},
@@ -211,9 +190,6 @@ var commandFlags = map[string][]string{
0 commit comments