Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.
/ shellcut Public archive

Create shortcut commands and easily call them when needed.

License

Notifications You must be signed in to change notification settings

ddochea0314/shellcut

Repository files navigation

shellcut

Create shortcut commands and easily call them when needed.

How to install

npm install -g shellcut

Quick start

Create shellcut example.

shellcut create hw "echo hello shellcut!"

Type this.

__hw

result

Why is '__' include?

Because, it helps you find the existed shellcut quickly by pressing the Tab key. Other words ($, @,%, etc) are already in use or cannot be used in shell, powershell, cmd, etc.

Commands

create

Create new shellcut command.

shellcut create <shellcut> <original command>

list

Show existed shellcuts.

shellcut list

If you want to filtered by name, use option '--call' or '-c'. 'word' is used to search by contains of shellcut name condition.

shellcut list --call <word>

If you want to filtered by original comand, use option '--cmd' or '-o'. 'word' is used to search by contains of command condition.

shellcut list --cmd <word>

You can use both options.

shellcut list --call <word1> --cmd <word2>

remove

remove existed shellcut.

shellcut remove <shellcut>

About

Create shortcut commands and easily call them when needed.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published