diff --git a/packages/cli/oclif.manifest.json b/packages/cli/oclif.manifest.json index 3418f8aec87..e2a83181f36 100644 --- a/packages/cli/oclif.manifest.json +++ b/packages/cli/oclif.manifest.json @@ -7188,6 +7188,12 @@ "description": "Creates a new development store in your organization.", "descriptionWithMarkdown": "Creates a new development store in your organization.", "enableJsonFlag": false, + "examples": [ + "<%= config.bin %> <%= command.id %>", + "<%= config.bin %> <%= command.id %> --name \"Lavender Candles\" --organization-id 1234567 --plan basic", + "<%= config.bin %> <%= command.id %> --name \"Lavender Candles\" --organization-id 1234567 --plan basic --with-demo-data", + "<%= config.bin %> <%= command.id %> --name \"Lavender Candles\" --organization-id 1234567 --plan basic --json" + ], "flags": { "country": { "description": "Two-letter country code for the store, such as US, CA, or GB. Follows the ISO 3166-1 alpha-2 standard.", diff --git a/packages/store/src/cli/commands/store/create/dev.ts b/packages/store/src/cli/commands/store/create/dev.ts index 2ca985ef88b..e1f54dd458e 100644 --- a/packages/store/src/cli/commands/store/create/dev.ts +++ b/packages/store/src/cli/commands/store/create/dev.ts @@ -18,6 +18,13 @@ export default class StoreCreateDev extends Command { static description = this.descriptionWithoutMarkdown() + static examples = [ + '<%= config.bin %> <%= command.id %>', + '<%= config.bin %> <%= command.id %> --name "Lavender Candles" --organization-id 1234567 --plan basic', + '<%= config.bin %> <%= command.id %> --name "Lavender Candles" --organization-id 1234567 --plan basic --with-demo-data', + '<%= config.bin %> <%= command.id %> --name "Lavender Candles" --organization-id 1234567 --plan basic --json', + ] + static flags = { ...globalFlags, ...jsonFlag,