Skip to content

danieldelcore/scriptpal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script Palette

ScriptPal 🤘

A simple npm script palette for lazy people who want a quick way to look through and pick npm scripts!

  • keyboard navigation
  • autocompletion
  • fuzzy finding

Demo

Install ⬇️

Install globally

npm install -g scriptpal

Usage 🏁

scriptpal

Usage with npx

npx scriptpal

API 🤖

  • --nowelcome, -n Omit welcome message
  • --last, -l Run previous command
  • --version, -v Version number
  • --clipboard, -c Copy command to clipboard
  • --help Help me 🙏

Subcommands

list List all scripts found in local package.json.

It's possible to also run arbitrary scripts from your package.json by passing them as sub-commands, similar to yarn.

For example: scriptpal test will run npm run test.

Examples

  • $ scriptpal --nowelcome
  • $ npx scriptpal
  • $ scriptpal --last --preset="emoji"
  • $ scriptpal list
  • $ scriptpal start

You might also like...

  • CommitPal: A delightful CLI tool for building complex commit messages
  • Enquirer: Stylish, intuitive and user-friendly prompts

About

A simple npm script palette for lazy people

Resources

Stars

Watchers

Forks

Packages

No packages published