0.4.1 • Published 6 years ago
shaggy v0.4.1
Shaggy
Compress all your config files in one shaggy file.
Install
To use from script:
npm i shaggy
CLI usage:
npm i -g shaggy
Usage
From script
const shaggy = require('shaggy')
To pack configs (create in current directory config.yml with configs data)
shaggy.pack(['jsdoc.config.json', 'postcss.config.js'])
To unpack configs (create in current directory config files with data from shaggy)
shaggy.unpack('config.yml')
CLI
See help
shaggy help
To pack configs (create in current directory config.yml with configs data)
shaggy pack jsdoc.config.json postcss.config.js
you can use
p
alias:shaggy p jsdoc.config.json postcss.config.js
To unpack configs (create in current directory config files with data from shaggy)
shaggy unpack config.yml
you can use
u
alias:shaggy u config.yml