@sugarcube/cli

0.42.1 • Public • Published

The SugarCube command line interface

A command line interface to SugarCube. See the SugarCube tutorial on how to use it, or print the help output.

sugarcube -h

Installation

npm install -S @sugarcube/cli

Usage

The CLI program is the primary interface to SugarCube. Use it in your project like this:

$(npm bin)/sugarcube -h

As a default SugarCube runs with a 1.4GB memory limit. This can be increased by setting the --max_old_space_size option using NODE_OPTIONS.

NODE_OPTIONS=--max_old_space_size=4096 $(npm bin)/sugarcube -h

The above example increases the memory limit to 4GB.

License

GPL3 @ Christo

Package Sidebar

Install

npm i @sugarcube/cli

Weekly Downloads

17

Version

0.42.1

License

GPL-3.0

Unpacked Size

69.9 kB

Total Files

12

Last publish

Collaborators

  • critocrito