feat(setup): wire setup command into CLI and start command
- Register setup command in CLI index - Offer setup wizard when running `flynn start` with no config - Guard telegram log output since telegram is now optional Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,7 @@ import { registerDoctorCommand } from './doctor.js';
|
||||
import { registerConfigCommand } from './config-cmd.js';
|
||||
import { registerTuiCommand } from './tui.js';
|
||||
import { registerCompletionCommand } from './completion.js';
|
||||
import { registerSetupCommand } from './setup.js';
|
||||
|
||||
export function createProgram(): Command {
|
||||
const program = new Command();
|
||||
@@ -23,6 +24,7 @@ export function createProgram(): Command {
|
||||
registerDoctorCommand(program);
|
||||
registerConfigCommand(program);
|
||||
registerCompletionCommand(program);
|
||||
registerSetupCommand(program);
|
||||
|
||||
return program;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user