Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

package-menu-cli

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

package-menu-cli

Displays menu of scripts from directory containing `package.json`

  • 1.5.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
2
Weekly downloads
 
Created
Source

pkg-menu-cli

Intro

Simple CLI to display table of package.json scripts information for current directory.

Install

$ npm i -g pkg-menu-cli

Package Menu CLI on npm

Usage

$ package-menu (returns menu)
┌───────────────────────────────────────┬───────────────────────────────────────────┐
│ Name                                  │ Script                                    │
├───────────────────────────────────────┼───────────────────────────────────────────┤
│ test                                  │ mocha                                     │
├───────────────────────────────────────┼───────────────────────────────────────────┤
│ menu                                  │ node ./cli.js                             │
└───────────────────────────────────────┴───────────────────────────────────────────┘

You can supply of of switches

-- sort, -s     Sort Result
-- compress, -c Display Script Name Only
-- launch, -l   Display Launcher Interface

Addtional switches when using --launch

   --multiple, -m  Allow multiple selection
   --all, -a       Run all scripts
   --info, -i      Shows script description
$ package-menu --sort
$ package-menu -l                  // show launcher
$ package-menu --launch --multiple // show launcher with multiselect
$ package-menu -lm                 // Supports CLI shorthand

Credits

pkg-menu-cli written by Mike Erickson

E-Mail: codedungeon@gmail.com

Twitter: @codedungeon

Website: codedungeon.org

Special Credit to ruyadorno for his work on ntl

Keywords

FAQs

Package last updated on 10 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc