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
Copy file name to clipboardExpand all lines: apptrust/commands/flags.go
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -53,8 +53,6 @@ const (
53
53
BuildsFlag="builds"
54
54
ReleaseBundlesFlag="release-bundles"
55
55
SourceVersionFlag="source-version"
56
-
ExcludeFlag="exclude"
57
-
PromoteFlag="promote"
58
56
)
59
57
60
58
// Flag keys mapped to their corresponding components.Flag definition.
@@ -92,8 +90,6 @@ var flagsMap = map[string]components.Flag{
92
90
BuildsFlag: components.NewStringFlag(BuildsFlag, "List of builds in format 'name1:number1[:timestamp1];name2:number2[:timestamp2]'", func(f*components.StringFlag) { f.Mandatory=false }),
93
91
ReleaseBundlesFlag: components.NewStringFlag(ReleaseBundlesFlag, "List of release bundles in format 'name1:version1;name2:version2'", func(f*components.StringFlag) { f.Mandatory=false }),
94
92
SourceVersionFlag: components.NewStringFlag(SourceVersionFlag, "Source versions in format 'app1:version1;app2:version2'", func(f*components.StringFlag) { f.Mandatory=false }),
95
-
ExcludeFlag: components.NewStringFlag(ExcludeFlag, "Excluded packages in format 'package1:version1;package2:version2'", func(f*components.StringFlag) { f.Mandatory=false }),
96
-
PromoteFlag: components.NewStringFlag(PromoteFlag, "Promotion stage for immediate promotion after creation", func(f*components.StringFlag) { f.Mandatory=false }),
97
93
}
98
94
99
95
varcommandFlags=map[string][]string{
@@ -111,9 +107,8 @@ var commandFlags = map[string][]string{
Description: "Creates a new version of the specified application with the given version number, tag, and associated packages, builds, release bundles, or source versions.",
294
282
Category: common.CategoryVersion,
295
283
Aliases: []string{"vc"},
296
284
Arguments: []components.Argument{
297
285
{
298
-
Name: "application-key",
299
-
Description: "The application key.",
286
+
Name: "app-key",
287
+
Description: "The application key of the application for which the version is being created.",
300
288
Optional: false,
301
289
},
302
290
{
303
291
Name: "version",
304
-
Description: "The version to create (must follow SemVer format).",
292
+
Description: "The version number (in SemVer format) for the new application version.",
0 commit comments