Files
cli/assistant
abearxiong a80a3ede46 feat: add argument parsing and module resolution for assistant app
- Implemented argument parsing in args.ts to handle root, home, and help options.
- Added parseHomeArg and parseHelpArg functions for command line argument handling.
- Created ModuleResolver class in assistant-app-resolve.ts to resolve module paths, including scoped packages and relative paths.
- Introduced caching mechanism for package.json reads to improve performance.
- Added utility functions for checking file existence and clearing the cache.
2026-01-31 17:42:53 +08:00
..
2026-01-20 15:39:46 +08:00
2025-06-06 02:03:10 +08:00
2026-01-17 14:48:49 +08:00
2025-04-27 22:16:09 +08:00
2026-01-20 15:39:46 +08:00
2026-01-17 16:19:49 +08:00

assistant cli

安装

npm i -g @kevisual/cli --registry=https://npm.cnb.cool/kevisual/registry/-/packages/

环境变量配置项

  • ASSISTANT_CONFIG_DIR
    • 说明:指定 assistant 的配置文件目录
    • 示例:export ASSISTANT_CONFIG_DIR=/path/to/your/config/dir

启动命令

asst server -s -p 8686