perpetualintelligence / terminal

The most flexible cross-platform framework for building modern and secured terminals.
https://www.perpetualintelligence.com/products/piterminal
Other
37 stars 3 forks source link

Configure CommandType.Group in CommandDescriptor #115

Closed Nilavarasi-Ashika closed 7 months ago

Nilavarasi-Ashika commented 7 months ago

Describe the bug How to configure the group command in CommandDescriptor. CommandDescriptor parameterized constructure supports following parameters in version pi-cli [5.8.5-rc.313242951]. (string id, string name, string description, CommandType commandType, CommandFlags commandFlags)

The expected command format syntax, how to configure this, \<CommandOwner> \<GroupName> \<Command> \<Option> \<OptionValue>

Runtime

perpetualintelligencegit commented 7 months ago

@Nilavarasi-Ashika: The grouped commands are supported and working as expected. Please see our sample test app for reference on how to correctly use grouped commands.

image