支持 yarn、pnpm、npm、bun
npm install -g ccommand # 安装ccommand install ccommand
ccommand -v # 查看版本 view version
ccommand find # 查找workspace find workspace
ccommand # 执行当前script Execute the current script
ccommand -help # 查看帮助 view help
# 导出环境变量在你的bash或者zsh中 Export environment variables in your bash or zsh
# 中文 Chinese
export PI_Lang=zh
# 英文 English
export PI_Lang=zh
when you run command with search the quick command will be output with tips 当你使用命令通过查找执行, 会在终端输出一个快速执行命令的提示
- ccommand 选取当前目录下的 package.json 文件中的 scripts 中的命令
- ccommand playground 选取当前目录下的 playground 文件夹下的 package.json 文件中的 scripts 中的命令
- ccommand playground -silent 支持额外的参数传参