AiCommands extension
Registers the :ai command on a LocalCommandRegistry for the native CLI.
Loads AiConfig from env / ~/.omnyshell/ai.yaml (see AiConfigIo). When a
usable provider+key is found, registers the live AiCommand; otherwise
registers a stub :ai that prints setup instructions, so the command always
exists and discovers itself in :help.
Methods
-
addAiCommand(
{String? home, bool color = false}) → void -
Available on LocalCommandRegistry, provided by the AiCommands extension