Skip to content

CompletionsFlagConfig ​

Configuration for the eager --completions <shell> flag.

Stored in CLISchema when .completions({ as: 'flag' }) is used.

Signatures ​

ts
interface CompletionsFlagConfig {}

Members ​

Properties ​

options ​

Generator options captured at build time (e.g. functionPrefix, rootMode).

ts
options: CompletionOptions | undefined;

shells ​

Shell targets the flag accepts (mirrors SHELLS).

ts
shells: readonly Shell[];

See Also ​

Released under the MIT License.