feat(mosaic): unified first-run UX wizard -> gateway install -> verify (#418)
This commit was merged in pull request #418.
This commit is contained in:
@@ -188,6 +188,16 @@ export function registerGatewayCommand(program: Command): void {
|
||||
runLogs({ follow: cmdOpts.follow, lines: parseInt(cmdOpts.lines ?? '50', 10) });
|
||||
});
|
||||
|
||||
// ─── verify ─────────────────────────────────────────────────────────────
|
||||
|
||||
gw.command('verify')
|
||||
.description('Verify the gateway installation (health, token, bootstrap endpoint)')
|
||||
.action(async () => {
|
||||
const opts = resolveOpts(gw.opts() as GatewayParentOpts);
|
||||
const { runVerify } = await import('./gateway/verify.js');
|
||||
await runVerify(opts);
|
||||
});
|
||||
|
||||
// ─── uninstall ──────────────────────────────────────────────────────────
|
||||
|
||||
gw.command('uninstall')
|
||||
|
||||
Reference in New Issue
Block a user