Command Line Interface plugin.
Type Definitions
-
Registry
-
A collection of commands for the CLI.
Properties:
Name Type Description chart2musicCIQ.CLI~SingleRegistryItem cmdlistCIQ.CLI~SingleRegistryItem customerCIQ.CLI~SingleRegistryItem chartstateCIQ.CLI~SingleRegistryItem exportCIQ.CLI~SingleRegistryItem findsymbolCIQ.CLI~SingleRegistryItem helpCIQ.CLI~SingleRegistryItem homeCIQ.CLI~SingleRegistryItem infoCIQ.CLI~SingleRegistryItem layoutCIQ.CLI~SingleRegistryItem periodicityCIQ.CLI~SingleRegistryItem pollingCIQ.CLI~SingleRegistryItem preferencesCIQ.CLI~SingleRegistryItem rangeCIQ.CLI~SingleRegistryItem resetCIQ.CLI~SingleRegistryItem seriesCIQ.CLI~SingleRegistryItem studyCIQ.CLI~SingleRegistryItem studylistCIQ.CLI~SingleRegistryItem symbolCIQ.CLI~SingleRegistryItem typeCIQ.CLI~SingleRegistryItem versionCIQ.CLI~SingleRegistryItem -
SingleRegistryItem
-
CLI command registry entry type
Type:
- Object
Properties:
Name Type Argument Description funcfunction The function to execute for the command.
manstring <optional>
The cmd documentation, "manpage"
optsstring <optional>
Command line options for the command. Use a colon to indicate an option that requires a value.
usagestring <optional>
Usage string for the command.
aiObject <optional>
AI-specific metadata for tool generation.
Properties
Name Type Argument Description descriptionstring <optional>
Description of the AI tool for LLM consumption.
parametersArray.<Object> <optional>
Array of parameter definitions for the AI tool.
parameters[].typestring <optional>
Parameter type (e.g., "string", "number").
parameters[].namestring <optional>
Parameter name.
parameters[].descriptionstring <optional>
Parameter description.
parameters[].requiredboolean <optional>
Whether the parameter is required.
parameters[].enumArray.<string> <optional>
Array of valid values for the parameter.
parameters[].examplesArray.<string> <optional>
Array of example values for the parameter.
parameters[].patternstring <optional>
Regex pattern or format description for validation.
funcfunction | string <optional>
Function that transforms AI parameters into CLI commands, or "cli" to use the default CLI function.
Example
{ func: function func() { if (func.opts.e) { this.echo("Example option"); } this.echo("Example command"); }, man: "Example command description", opts: "e", usage: "example [-e]", ai: { description: "AI tool description", parameters: [ { type: "string", name: "paramName", description: "Parameter description", required: true } ], func: "cli" // or custom function: (param) => "command " + param } }
