sywac-style-chunky
v1.0.0sywac-style-chunky
A chunky style for your sywac CLI application.
Install
$ npm install sywac
$ npm install sywac-style-chunky
Usage
const sywac = require('sywac');
const chunky = require('sywac-style-chunky');
sywac.style(chunky);
NOTE This style renders group headers without trailing colons and in uppercase, but the underlying group names aren't changed - keep this in mind if you use
.groupOrder
, for example.
sywac
.number('port', { group: 'Server Options:' })
.groupOrder(['Arguments:', 'Options:', 'Server Options:'])
.style(chunky);
// ARGUMENTS
// ...
//
// OPTIONS
// ...
//
// SERVER OPTIONS
// ...
npm i sywac-style-chunky
Metadata
- MIT
- Whatever
- Elliot Nelson
- released 5/1/2020