feat(setup): skip redundant operator-pack prompts and add strict-mode docs/tests

This commit is contained in:
William Valentin
2026-02-16 15:27:27 -08:00
parent 7ce58f5966
commit dc1c691ea5
6 changed files with 103 additions and 8 deletions
+7
View File
@@ -21,6 +21,13 @@ describe('CLI program', () => {
expect(commandNames).toContain('zai-auth');
});
it('registers doctor strict flag on doctor command', () => {
const program = createProgram();
const doctor = program.commands.find((c) => c.name() === 'doctor');
const strictOption = doctor?.options.find((o) => o.long === '--strict');
expect(strictOption).toBeDefined();
});
it('has version info', () => {
const program = createProgram();
expect(program.version()).toBeDefined();