@vellumai/plugin-api 0.10.7-dev.202607101934.29f4d92 → 0.10.7-dev.202607102035.64f07ea
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +13 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1920,6 +1920,13 @@ export declare const CLI_COMMAND_HELP: readonly CliCommandHelp[];
|
|
|
1920
1920
|
*/
|
|
1921
1921
|
declare interface CliCommandHelp {
|
|
1922
1922
|
name: string;
|
|
1923
|
+
/**
|
|
1924
|
+
* Positional-argument spec appended to the name at registration, e.g.
|
|
1925
|
+
* `"<command>"`. Use {@link commandSpec} to build the Commander registration
|
|
1926
|
+
* string; `name` stays the bare command name so consumers (dedup, slugs,
|
|
1927
|
+
* rendering) never parse argument syntax out of it.
|
|
1928
|
+
*/
|
|
1929
|
+
args?: string;
|
|
1923
1930
|
description: string;
|
|
1924
1931
|
/** Options declared directly on the top-level command. */
|
|
1925
1932
|
options?: CliOptionHelp[];
|
|
@@ -1963,14 +1970,20 @@ declare interface CliOptionHelp {
|
|
|
1963
1970
|
required?: boolean;
|
|
1964
1971
|
/** Default value passed to `option(flags, description, defaultValue)`. */
|
|
1965
1972
|
defaultValue?: string;
|
|
1973
|
+
/** Allowed values, applied via Commander's `Option.choices()` (invalid → error). */
|
|
1974
|
+
choices?: readonly string[];
|
|
1966
1975
|
}
|
|
1967
1976
|
|
|
1968
1977
|
declare interface CliSubcommandHelp {
|
|
1969
1978
|
name: string;
|
|
1979
|
+
/** Positional-argument spec, e.g. `"<path>"` — see {@link CliCommandHelp.args}. */
|
|
1980
|
+
args?: string;
|
|
1970
1981
|
description: string;
|
|
1971
1982
|
options?: CliOptionHelp[];
|
|
1972
1983
|
/** Extra help appended after the option list (`addHelpText("after", …)`). */
|
|
1973
1984
|
helpText?: string;
|
|
1985
|
+
/** Nested subcommand groups (e.g. `avatar character update`). */
|
|
1986
|
+
subcommands?: CliSubcommandHelp[];
|
|
1974
1987
|
}
|
|
1975
1988
|
|
|
1976
1989
|
declare type CompactionCircuitClosedEvent = z.infer<typeof CompactionCircuitClosedEventSchema>;
|
package/package.json
CHANGED