lerna-terminal
v1.4.2
Published
Powerful cli ui for monorepos
Downloads
41
Maintainers
Readme
lerna-terminal
Powerful cli ui for lerna - replace
lerna run <scriptName>
withlerna-terminal <scriptName>
.
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
Related
- lerna - A tool for managing JavaScript projects with multiple packages.
License
MIT © Simon Mollweide