docs(help): add kiro idc flag guidance

- add a dedicated 'ccs help kiro' topic with IDC and paste-callback examples

- link the providers help topic to the new Kiro-specific help surface
This commit is contained in:
Tam Nhu Tran committed 2026-04-05 02:17:50 -04:00
1 parent f40d435a92
commit bf5fcfc034
3 files changed
+87 -1

No files matched your search

@@ -46,11 +46,23 @@ describe('help command parity', () => {
expect(rendered.includes('Built-in OAuth Providers')).toBe(true);
expect(rendered.includes('ccs cliproxy --help')).toBe(true);
expect(rendered.includes('ccs help kiro')).toBe(true);
expect(rendered.includes('gemini')).toBe(true);
expect(rendered.includes('codex')).toBe(true);
expect(rendered.includes('ghcp')).toBe(true);
});
test('kiro topic documents IDC and callback flags', async () => {
const rendered = await renderLines((writeLine) => handleHelpRoute(['kiro'], writeLine));
expect(rendered.includes('CCS Kiro Help')).toBe(true);
expect(rendered.includes('--kiro-idc-start-url <url>')).toBe(true);
expect(rendered.includes('--kiro-idc-region <region>')).toBe(true);
expect(rendered.includes('--kiro-idc-flow <authcode|device>')).toBe(true);
expect(rendered.includes('--paste-callback')).toBe(true);
expect(rendered.includes('GitHub OAuth is dashboard-only')).toBe(true);
});
test('completion topic documents install and verification paths', async () => {
const rendered = await renderLines((writeLine) => handleHelpRoute(['completion'], writeLine));