Skip to content

Simon-He95/ccommand

Repository files navigation

kv

  • 高效的执行命令行工具 | Efficient execution of command-line tools
  • 基于 gum | Powered by gum

介绍 | Introduction

支持 yarn、pnpm、npm、bun

安装 | Install

npm install -g ccommand # 安装ccommand install ccommand

指令 | Command

ccommand -v # 查看版本 view version
ccommand find # 查找workspace find workspace
ccommand # 执行当前script Execute the current script
ccommand -help # 查看帮助 view help

语言 | Language

# 导出环境变量在你的bash或者zsh中 Export environment variables in your bash or zsh
# 中文 Chinese
export PI_Lang=zh
# 英文 English
export PI_Lang=zh

新特性 | Feature

when you run command with search the quick command will be output with tips 当你使用命令通过查找执行, 会在终端输出一个快速执行命令的提示

使用 | Usage

  • ccommand 选取当前目录下的 package.json 文件中的 scripts 中的命令
  • ccommand playground 选取当前目录下的 playground 文件夹下的 package.json 文件中的 scripts 中的命令
  • ccommand playground -silent 支持额外的参数传参
2022-10-31.17.37.13.mov

Buy Me A Coffee

License

MIT License © 2022 Simon He