Skip to content

Commit 5c4e4b3

Browse files
committed
fix: remove -d shorthand from --project-directory, restore original shorthands
1 parent eb3f5d0 commit 5c4e4b3

6 files changed

Lines changed: 5 additions & 3 deletions

File tree

.changeset/rename-working-directory-to-project-directory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
'@salesforce/b2c-dx-mcp': patch
55
---
66

7-
Rename `--working-directory` flag to `--project-directory` (`-d`). The old flag name `--working-directory` is still accepted as an alias. Primary env var is now `SFCC_PROJECT_DIRECTORY`; `SFCC_WORKING_DIRECTORY` continues to work as a deprecated fallback.
7+
Rename `--working-directory` flag to `--project-directory`. The old flag name `--working-directory` is still accepted as an alias. Primary env var is now `SFCC_PROJECT_DIRECTORY`; `SFCC_WORKING_DIRECTORY` continues to work as a deprecated fallback.

packages/b2c-cli/src/commands/am/clients/create.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default class ClientCreate extends AmCommand<typeof ClientCreate> {
3636
required: true,
3737
}),
3838
description: Flags.string({
39+
char: 'd',
3940
description: 'Description of the API client',
4041
}),
4142
orgs: Flags.string({

packages/b2c-cli/src/commands/am/clients/update.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export default class ClientUpdate extends AmCommand<typeof ClientUpdate> {
4242
description: 'API client name',
4343
}),
4444
description: Flags.string({
45+
char: 'd',
4546
description: 'Description of the API client',
4647
}),
4748
organizations: Flags.string({

packages/b2c-cli/src/commands/ecdn/zones/create.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default class EcdnZonesCreate extends EcdnCommand<typeof EcdnZonesCreate>
3636
static flags = {
3737
...EcdnCommand.baseFlags,
3838
'domain-name': Flags.string({
39+
char: 'd',
3940
description: t('flags.domainName.description', 'Domain name for the storefront zone'),
4041
required: true,
4142
}),

packages/b2c-cli/src/commands/job/export.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default class JobExport extends JobCommand<typeof JobExport> {
7575
description: 'Global data units to export (comma-separated: meta_data,custom_types,etc.)',
7676
}),
7777
'data-units': Flags.string({
78-
char: 'u',
78+
char: 'd',
7979
description: 'Full data units configuration as JSON string',
8080
}),
8181
'keep-archive': Flags.boolean({

packages/b2c-tooling-sdk/src/cli/base-command.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
9696
helpGroup: 'GLOBAL',
9797
}),
9898
'project-directory': Flags.string({
99-
char: 'd',
10099
aliases: ['working-directory'],
101100
description: 'Project directory',
102101
env: 'SFCC_PROJECT_DIRECTORY',

0 commit comments

Comments
 (0)