Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Commit b56ec85

Browse files
authored
fix(releasedefn-generate): Update example commands and typos (#1431)
fixes #1430 Co-authored-by: Vu Ha <>
1 parent ccdc73f commit b56ec85

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"commandDescription": "Generates release defintion based on the artifacts installed from a commit reference",
3-
"configFileFlagDescription":"Path to the config file which determines how the release defintion should be generated",
4-
"releaseNameFlagDescription": "Set a releasename on the release definition file created",
2+
"commandDescription": "Generates release definition based on the artifacts installed from a commit reference",
3+
"configFileFlagDescription":"Path to the config file which determines how the release definition should be generated",
4+
"releaseNameFlagDescription": "Set a release name on the release definition file created",
55
"commitFlagDescription": "Utilize the tags on the source branch to generate release definiton",
6-
"directoryFlagDescription": "Relative path to directory to which the release defintion file should be generated, if the directory doesnt exist, it will be created",
7-
"branchNameFlagDescription": "Repository branch in which the release defintion files are to be written",
6+
"directoryFlagDescription": "Relative path to directory to which the release definition file should be generated, if the directory doesnt exist, it will be created",
7+
"branchNameFlagDescription": "Repository branch in which the release definition files are to be written",
88
"noPushFlagDescription":"Do not push the changelog to a repository to the provided branch",
99
"forcePushFlagDescription": "Force push changes to the repository branch"
1010
}

packages/sfpowerscripts-cli/src/commands/releasedefinition/generate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default class Generate extends SfpowerscriptsCommand {
1212
public static description = messages.getMessage('commandDescription');
1313

1414
public static examples = [
15-
`$ sfp releasedefinition:generate -n <releaseName>`,
15+
`$ sfp releasedefinition:generate -n <releaseName> -c <gitref> -f <configfile>`,
1616
];
1717

1818
protected static requiresProject = true;
@@ -22,7 +22,7 @@ export default class Generate extends SfpowerscriptsCommand {
2222
gitref: Flags.string({
2323
char: 'c',
2424
description: messages.getMessage('commitFlagDescription'),
25-
required:true
25+
required: true
2626
}),
2727
configfile: Flags.string({
2828
char: 'f',

0 commit comments

Comments
 (0)