An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

![kv](/assets/kv.png)

- 高效的执行命令行工具 | 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

Buy Me A Coffee

## License

[MIT](./LICENSE) License © 2022 [Simon He](https://github.com/Simon-He95)