tachyons-cli
Postprocess Tachyons stylesheets with a CLI app.
This module is used to process Tachyons CSS modules and generate their documentation.
It is leveraged in an npm script shared among all modules.
It is meant to be installed globally with the --global
flag, and requires v4
of node or higher.
Installation
npm install --g tachyons-cli
Usage
$ tachyons --help
Postprocess tachyons stylesheets and, if you wish, generate docs
Usage
$ tachyons <input.css>
Options
-m, --minify Minify the output stylesheet
--generate-docs Generate documentation for a given module
--package The path to the module package to be documented
Example
$ tachyons src/tachyons.css > dist/c.css
$ tachyons src/tachyons.css > dist/c.css --minify
$ tachyons src/tachyons-type-scale.css --generate-docs --package=./package.json > readme.md
Within a Tachyons CSS module
$ tachyons src/tachyons-base.css > css/tachyons-base.css && \
tachyons src/tachyons-base.css --minify > css/tachyons-base.min.css && \
tachyons src/tachyons-base.css --generate-docs --package=../../package.json > readme.md
Development
$ npm t
Related
License
MIT
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).
This package was initially generated with yeoman and the p generator.