{"id":13630823,"url":"https://github.com/tachyons-css/cli","last_synced_at":"2025-05-02T05:30:53.034Z","repository":{"id":1895721,"uuid":"44708524","full_name":"tachyons-css/cli","owner":"tachyons-css","description":"Cli to postprocess tachyons stylesheets and generate documentation","archived":false,"fork":false,"pushed_at":"2023-01-12T06:08:23.000Z","size":432,"stargazers_count":76,"open_issues_count":14,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T16:02:49.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tachyons.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tachyons-css.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-21T22:39:38.000Z","updated_at":"2024-09-26T02:43:40.000Z","dependencies_parsed_at":"2023-01-14T10:55:32.377Z","dependency_job_id":null,"html_url":"https://github.com/tachyons-css/cli","commit_stats":null,"previous_names":["tachyons-css/tachyons-cli"],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tachyons-css","download_url":"https://codeload.github.com/tachyons-css/cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251992635,"owners_count":21677018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T22:02:00.334Z","updated_at":"2025-05-02T05:30:48.005Z","avatar_url":"https://github.com/tachyons-css.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# tachyons-cli [![Build Status](https://secure.travis-ci.org/tachyons-css/tachyons-cli.svg?branch=master)](https://travis-ci.org/tachyons-css/tachyons-cli) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nPostprocess Tachyons stylesheets with a CLI app.\n\nThis module is used to process Tachyons css modules and generate their documentation.\nIt is leveraged in an [npm script](https://github.com/tachyons-css/tachyons-base/blob/d55f2f4458b1e03c582f8a6c86a41d964512775f/package.json#L34) shared among all modules.\n\nIt is meant to be installed globally with the `--global` flag, and requires `v4` of node or higher.\n\n## Installation\n\n```bash\nnpm install --global tachyons-cli\n```\n\n## Usage\n\n```sh\n$ tachyons --help\n\n  Postprocess tachyons stylesheets\n\n  Usage\n    $ tachyons \u003cinput.css\u003e\n\n  Options\n    -m, --minify Minify the output stylesheet\n    -r, --repeat Repeat class names to increase specificity\n    -a, --authors Dynamically add authors based on package.json\n    -n, --new Generate a new Tachyons project\n    --rtl Generate rtl supported css\n    --generate-docs Generate documentation for a given module\n    --package The path to the module package to be documented\n    --preserve-variables Preserve CSS variables in output\n\n  Example\n    $ tachyons src/tachyons.css \u003e dist/c.css\n    $ tachyons src/tachyons.css \u003e dist/c.css --minify\n    $ tachyons src/tachyons.css \u003e dist/c.repeated.css --repeat\n    $ tachyons src/tachyons-type-scale.css --generate-docs --package=./package.json \u003e readme.md\n    $ tachyons --new=my-new-project\n```\n\n#### Within a Tachyons css module\n\n```sh\n$ tachyons src/tachyons-base.css \u003e css/tachyons-base.css \u0026\u0026 \\\n  tachyons src/tachyons-base.css --minify \u003e css/tachyons-base.min.css \u0026\u0026 \\\n  tachyons src/tachyons-base.css --generate-docs --package=../../package.json \u003e readme.md\n```\n\n## Development\n\n```sh\n$ npm t\n```\n\n## Related\n\n- [`tachyons`](https://github.com/tachyons-css/tachyons)\n- [`tachyons-build-css`](https://github.com/tachyons-css/tachyons-build-css)\n- [`postcss`](https://github.com/postcss/postcss)\n- [`cssstats`](https://github.com/cssstats/cssstats)\n- [`immutable-css`](https://github.com/johnotander/immutable-css)\n\n## License\n\nISC\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with \u003c3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n\u003e This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachyons-css%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftachyons-css%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachyons-css%2Fcli/lists"}