We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43bc9e6 commit 1524db3Copy full SHA for 1524db3
src/commands/agent/generate/authoring-bundle.ts
@@ -77,7 +77,9 @@ export default class AgentGenerateAuthoringBundle extends SfCommand<AgentGenerat
77
const spec = flags['spec'] ?? (await promptForFlag(AgentGenerateAuthoringBundle.FLAGGABLE_PROMPTS['spec']));
78
79
// If we don't have a name yet, prompt for it
80
- const name = flags['name'] ?? (await promptForFlag(AgentGenerateAuthoringBundle.FLAGGABLE_PROMPTS['name']));
+ const name = (
81
+ flags['name'] ?? (await promptForFlag(AgentGenerateAuthoringBundle.FLAGGABLE_PROMPTS['name']))
82
+ ).replaceAll(' ', '_');
83
84
try {
85
// Get default output directory if not specified
0 commit comments