Skip to content

cresvin/cmdbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 cmdbox

cmdbox is a simple CLI tool for storing, managing, and quickly running frequently used commands.

Showcase gif

showcase

Installation

# Using npm
npm install -g cmdbox

# Using pnpm
pnpm add -g cmdbox

API

Commands:
  cmdbox add            Add a new command to the store
  cmdbox list           List all stored commands
  cmdbox purge          Remove all stored commands
  cmdbox run [name]     Run a stored command
  cmdbox remove [name]  Remove a stored command

Options:
  -h, --help     Show help                                       [boolean]
  -v, --version  Show version number                             [boolean]

Examples

Add a new command

$ cmdbox add
✔ Name? › sayhi
✔ Description? › prints "hello, world!"
✔ Command?echo "hello, world!"
Command has been added

List all stored commands

cmdbox list

Run a stored command

cmdbox run my-command

Remove a stored command

cmdbox remove my-command

Remove all stored commands

cmdbox purge

License

This project is licensed under the MIT License

About

A simple CLI tool for storing, managing, and quickly running frequently used commands

Resources

License

Stars

Watchers

Forks