JSPM

vorpal-shell

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q20808F
  • License MIT

Vorpal Extension for running shell commands

Package Exports

  • vorpal-shell

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vorpal-shell) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vorpal-shell

Vorpal Extension for running shell commands

npm License: MIT

About

Vorpal extension that enables you to run shell command, right from the vorpal REPL

To do so, start your command with $. Some completion is even availabled. (Hovewer due to a current vorpal caveat, it wont autocomplete your options 😕)

Besic Setup

const Vorpal = require('vorpal');
const vorpalShell = require('vorpal-shell');

const vorpal = Vorpal();

vorpal
  .delimiter('>> ')
  .use(vorpalShell({shell: 'zsh'}))
  .show();