lerna-terminal

1.4.2 • Public • Published

lerna-terminal build status

Powerful cli ui for lerna - replace lerna run <scriptName> with lerna-terminal <scriptName>.

kapture 2017-11-02 at 17 25 41

Getting Started

This application requires Node 8 or higher.

Install

$ npm install lerna-terminal

Usage

$ lerna-terminal --help

  Usage
    $ lerna-terminal <scriptName> [options]

  Options
    -V, --version                   Output the version number
    -i, --ignoredPackages [string]  Add packages which should be ignored
    -f, --focus [string]            Focus one subterminal initially
    -t, --theme [string]            Define theme (default, minimal, massive)
    -r, --root                      Run given scriptName also in root package
    -h, --help                      output usage information

  Example
    $ lerna-terminal start -t minimal -i utils

CLI

lerna-terminal~$ help

  Usage
    lerna-terminal~$ [command]

  Commands
    [string]          Focus one terminal panel and update current pwd
    focus             Leave focused mode (child process) and displays all terminal panels
    focus [string]    Focus one terminal panel and update current pwd
    clear             Clear all terminal panels
    clear [string]    Clear one terminal panel
    start             Start (or restart) the npm script (see Usage) in all terminal panels
    start [string]    Start (or restart) the npm script (see Usage) in one terminal panels
    stop              Stops the npm script (see Usage) in all terminal panels
    stop [string]     Stops the npm script (see Usage) in one terminal panels
    exit              Leave current child process and displays all terminal panels

  Example
    lerna-terminal~$ start

CLI in child process (focused)

lerna-terminal/<packageName>~$ help

  Usage
    lerna-terminal/<packageName>~$ [command]

  Commands
    [string]          On Enter the given string will be executed in child process
    clear             Clear focused terminal panel
    start             Start (or restart) the npm script (see Usage) in focused terminal panel
    stop              Stops the npm script (see Usage) in focused terminal panel
    exit              Leave current child process and displays all terminal panels

  Example
    lerna-terminal~$ start

Shields

coverage status npm downloads MIT License Codestyle Commitizen friendly styled with prettier semantic-release

Related

  • lerna - A tool for managing JavaScript projects with multiple packages.

License

MIT © Simon Mollweide

Package Sidebar

Install

npm i lerna-terminal

Weekly Downloads

11

Version

1.4.2

License

MIT

Unpacked Size

52.8 kB

Total Files

40

Last publish

Collaborators

  • smollweide