mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-28 08:49:38 +02:00
feat(cli): clean up command surface
This commit is contained in:
parent
60457e9407
commit
e15a4ebaec
61 changed files with 406 additions and 2076 deletions
|
|
@ -7,7 +7,6 @@ import type { KtxCliIo } from './cli-runtime.js';
|
|||
import { formatSetupNextStepLines } from './next-steps.js';
|
||||
import { isKtxSetupExitError, withSetupInterruptConfirmation } from './setup-interrupt.js';
|
||||
import {
|
||||
type KtxAgentInstallMode,
|
||||
type KtxAgentScope,
|
||||
type KtxAgentTarget,
|
||||
type KtxSetupAgentsDeps,
|
||||
|
|
@ -60,7 +59,6 @@ export type KtxSetupArgs =
|
|||
agents: boolean;
|
||||
target?: KtxAgentTarget;
|
||||
agentScope?: KtxAgentScope;
|
||||
agentInstallMode?: KtxAgentInstallMode;
|
||||
skipAgents?: boolean;
|
||||
inputMode: 'auto' | 'disabled';
|
||||
yes: boolean;
|
||||
|
|
@ -736,7 +734,7 @@ async function runKtxSetupInner(args: KtxSetupArgs, io: KtxCliIo, deps: KtxSetup
|
|||
agents: true,
|
||||
...(args.target ? { target: args.target } : {}),
|
||||
scope: args.agentScope ?? 'project',
|
||||
mode: args.agentInstallMode ?? 'cli',
|
||||
mode: 'cli',
|
||||
skipAgents: false,
|
||||
},
|
||||
io,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue