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=true }),
64
+
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.DefaultValue=model.BusinessCriticalityValues[0] }),
82
-
MaturityLevelFlag: components.NewStringFlag(MaturityLevelFlag, "The maturity level.", func(f*components.StringFlag) { f.DefaultValue=model.MaturityLevelValues[0] }),
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 }),
68
+
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 }),
71
+
DescriptionFlag: components.NewStringFlag(DescriptionFlag, "The description of the application.", func(f*components.StringFlag) { f.Mandatory=false }),
72
+
BusinessCriticalityFlag: components.NewStringFlag(BusinessCriticalityFlag, "The business criticality level. The following values are supported: "+coreutils.ListToText(model.BusinessCriticalityValues), func(f*components.StringFlag) { f.DefaultValue=model.BusinessCriticalityValues[0] }),
73
+
MaturityLevelFlag: components.NewStringFlag(MaturityLevelFlag, "The maturity level.", func(f*components.StringFlag) { f.DefaultValue=model.MaturityLevelValues[0] }),
74
+
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 }),
75
+
UserOwnersFlag: components.NewStringFlag(UserOwnersFlag, "Comma-separated list of user owners.", func(f*components.StringFlag) { f.Mandatory=false }),
76
+
GroupOwnersFlag: components.NewStringFlag(GroupOwnersFlag, "Comma-separated list of group owners.", func(f*components.StringFlag) { f.Mandatory=false }),
77
+
SigningKeyFlag: components.NewStringFlag(SigningKeyFlag, "The GPG/RSA key-pair name given in Artifactory.", func(f*components.StringFlag) { f.Mandatory=false }),
78
+
SyncFlag: components.NewBoolFlag(SyncFlag, "Whether to synchronize the operation.", components.WithBoolDefaultValueTrue()),
79
+
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 }),
80
+
DryRunFlag: components.NewBoolFlag(DryRunFlag, "Perform a simulation of the operation.", components.WithBoolDefaultValueFalse()),
81
+
ExcludeReposFlag: components.NewStringFlag(ExcludeReposFlag, "Semicolon-separated list of repositories to exclude.", func(f*components.StringFlag) { f.Mandatory=false }),
82
+
IncludeReposFlag: components.NewStringFlag(IncludeReposFlag, "Semicolon-separated list of repositories to include.", func(f*components.StringFlag) { f.Mandatory=false }),
83
+
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 }),
84
+
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 }),
85
+
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 }),
86
+
SourceTypeReleaseBundlesFlag: components.NewStringFlag(SourceTypeReleaseBundlesFlag, "List of semicolon-seperated (;) 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 }),
87
+
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 }),
88
+
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 }),
89
+
DeletePropertyFlag: components.NewStringFlag(DeletePropertyFlag, "Remove a property key and all its values", func(f*components.StringFlag) { f.Mandatory=false }),
100
90
}
101
91
102
92
varcommandFlags=map[string][]string{
@@ -105,14 +95,10 @@ var commandFlags = map[string][]string{
105
95
user,
106
96
accessToken,
107
97
serverId,
108
-
ApplicationKeyFlag,
109
98
TagFlag,
110
-
PackagesFlag,
111
-
PackageTypeFlag,
112
-
PackageRepositoryFlag,
113
-
BuildsFlag,
114
-
ReleaseBundlesFlag,
115
-
SourceVersionFlag,
99
+
SourceTypeBuildsFlag,
100
+
SourceTypeReleaseBundlesFlag,
101
+
SourceTypeApplicationVersionsFlag,
116
102
SpecFlag,
117
103
SpecVarsFlag,
118
104
},
@@ -161,17 +147,13 @@ var commandFlags = map[string][]string{
0 commit comments