feat: migrate from inquirer to @inquirer/prompts for interactive prompts
- Replaced inquirer with @inquirer/prompts in various command files for improved prompt handling. - Updated confirmation and input prompts in commands such as app, config, deploy, login, and others. - Added a new command 'cc' for switching between Claude code models with appropriate configurations. - Enhanced user experience by ensuring prompts are more streamlined and consistent across the application.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { program, Command } from 'commander';
|
||||
import fs from 'fs';
|
||||
import { useContextKey } from '@kevisual/context'
|
||||
|
||||
// 将多个子命令加入主程序中
|
||||
const version = useContextKey('version', () => {
|
||||
let version = '0.0.64';
|
||||
|
||||
Reference in New Issue
Block a user