File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
src/commands/agent/generate Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,23 @@ This command requires an org because it uses it to access an LLM for generating
1616
1717# flags.spec.summary
1818
19- Path to the agent spec YAML file.
19+ Path to the agent spec YAML file; if not specified, the command provides a list that you can choose from.
20+
21+ # flags.spec.prompt
22+
23+ Path to the agent spec YAML file
2024
2125# flags.output-dir.summary
2226
2327Directory where the authoring bundle files are generated.
2428
2529# flags.name.summary
2630
27- Name (label) of the authoring bundle.
31+ Name (label) of the authoring bundle; if not specified, you're prompted for the name.
32+
33+ # flags.name.prompt
34+
35+ Name (label) of the authoring bundle
2836
2937# flags.api-name.summary
3038
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ export default class AgentGenerateAuthoringBundle extends SfCommand<AgentGenerat
6464 private static readonly FLAGGABLE_PROMPTS = {
6565 name : {
6666 message : messages . getMessage ( 'flags.name.summary' ) ,
67+ promptMessage : messages . getMessage ( 'flags.name.prompt' ) ,
6768 validate : ( d : string ) : boolean | string =>
6869 d . trim ( ) . length > 0 || 'Name cannot be empty or contain only whitespace' ,
6970 required : true ,
@@ -87,6 +88,7 @@ export default class AgentGenerateAuthoringBundle extends SfCommand<AgentGenerat
8788 } ,
8889 spec : {
8990 message : messages . getMessage ( 'flags.spec.summary' ) ,
91+ promptMessage : messages . getMessage ( 'flags.spec.prompt' ) ,
9092 validate : ( d : string ) : boolean | string => {
9193 const specPath = resolve ( d ) ;
9294 if ( ! existsSync ( specPath ) ) {
You can’t perform that action at this time.
0 commit comments