User Story
As a developer setting up git-copilot for the first time,
I want to run git-copilot config --add openai and be prompted for my API key,
So that I can configure the tool without manually editing JSON files.
Acceptance Criteria
Notes
inquirer is already a listed dependency. ConfigManager already has addProvider, removeProvider, setActiveProvider methods. Wiring the CLI options to these methods is the primary work.
Backlink: #1
User Story
As a developer setting up git-copilot for the first time,
I want to run
git-copilot config --add openaiand be prompted for my API key,So that I can configure the tool without manually editing JSON files.
Acceptance Criteria
git-copilot config --listprints all configured providers and marks the active onegit-copilot config --add <name>prompts for baseUrl, apiKey, model, maxTokens viainquirergit-copilot config --remove <name>removes the provider after confirmationgit-copilot config --set-active <name>switches the active providerNotes
inquireris already a listed dependency.ConfigManageralready hasaddProvider,removeProvider,setActiveProvidermethods. Wiring the CLI options to these methods is the primary work.Backlink: #1