https://github.com/simon-he95/ccommand
Lazy man commands
https://github.com/simon-he95/ccommand
ccommand
Last synced: 3 months ago
JSON representation
Lazy man commands
- Host: GitHub
- URL: https://github.com/simon-he95/ccommand
- Owner: Simon-He95
- License: mit
- Created: 2022-08-09T10:26:49.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-26T08:15:02.000Z (4 months ago)
- Last Synced: 2025-03-07T17:52:15.753Z (3 months ago)
- Topics: ccommand
- Language: TypeScript
- Homepage:
- Size: 25.4 MB
- Stars: 8
- Watchers: 0
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
- 高效的执行命令行工具 | Efficient execution of command-line tools
- 基于 [gum](https://github.com/charmbracelet/gum#installation) | Powered by [gum](https://github.com/charmbracelet/gum#installation)## 介绍 | Introduction
支持 yarn、pnpm、npm、bun
## 安装 | Install
```bash
npm install -g ccommand # 安装ccommand install ccommand
```## 指令 | Command
```bash
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 支持额外的参数传参https://user-images.githubusercontent.com/57086651/198977837-1b2339dc-38d7-4565-b0b6-ea20ce7b5165.mov
## License
[MIT](./LICENSE) License © 2022 [Simon He](https://github.com/Simon-He95)