All Projects → avencera → rustywind

avencera / rustywind

Licence: Apache-2.0 license
CLI for organizing Tailwind CSS classes

Programming Languages

rust
11053 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to rustywind

axiom
Axiom - A Hugo Theme. GitTip: https://gitcoin.co/tip?username=jhauraw
Stars: ✭ 67 (-71.97%)
Mutual labels:  tailwind-css
tailwind
Website clones/examples using Tailwind CSS.
Stars: ✭ 49 (-79.5%)
Mutual labels:  tailwind-css
cookie
Landing website + Blog using Jekyll & Tailwind CSS
Stars: ✭ 61 (-74.48%)
Mutual labels:  tailwind-css
react-spring-bottom-sheet
Accessible ♿️, Delightful ✨, & Fast 🚀
Stars: ✭ 604 (+152.72%)
Mutual labels:  tailwind-css
create-nuxt-tailwind-app
[DEPRECATED] Use create-nuxt-app, they added full tailwindcss & purgecss support
Stars: ✭ 32 (-86.61%)
Mutual labels:  tailwind-css
tailwind-shift
⚙️ Shift to the next TailwindCSS version hassle-free.
Stars: ✭ 114 (-52.3%)
Mutual labels:  tailwind-css
ta-gallery
You can use the light-weight, responsive and mobile first gallery, carousel, slide show or rotator for images, texts and every kind of content.
Stars: ✭ 87 (-63.6%)
Mutual labels:  tailwind-css
admin-one-vue-tailwind
Free Vue.js 3.x Tailwind 3.x admin dashboard template with dark mode. Vite builds. Pinia state. Laravel integration available
Stars: ✭ 742 (+210.46%)
Mutual labels:  tailwind-css
Screenshot-Landing-Page
Tailwind CSS Starter Template - Screenshot Landing Page
Stars: ✭ 100 (-58.16%)
Mutual labels:  tailwind-css
code-type
Practice code-typing with top 1000 keywords of the most popular programming languages.
Stars: ✭ 31 (-87.03%)
Mutual labels:  tailwind-css
tailwindcss-background-extended
All of the missing background utilities for Tailwind CSS.
Stars: ✭ 25 (-89.54%)
Mutual labels:  tailwind-css
Minimal-Blog
Tailwind CSS Starter Template - Minimal Blog
Stars: ✭ 100 (-58.16%)
Mutual labels:  tailwind-css
ngx-tailwind
💨 Simple Angular schematic that initializes Tailwind CSS in your project and adds a custom webpack config to your build process.
Stars: ✭ 120 (-49.79%)
Mutual labels:  tailwind-css
jakarta-lte
Jakarta LTE - Free and Open Source Premium Admin Templates with rich UI Kit base on Tailwind CSS
Stars: ✭ 139 (-41.84%)
Mutual labels:  tailwind-css
Multi-Section-Form
Tailwind CSS Starter Template - Multi Section Form with Scrollspy
Stars: ✭ 33 (-86.19%)
Mutual labels:  tailwind-css
notus-angular
Notus Angular: Free Tailwind CSS UI Kit and Admin
Stars: ✭ 148 (-38.08%)
Mutual labels:  tailwind-css
phuctm97.com
🏚 Home on the Web
Stars: ✭ 41 (-82.85%)
Mutual labels:  tailwind-css
tailwindcss-scrims
Configurable Tailwind plugin for generating scrim classes.
Stars: ✭ 35 (-85.36%)
Mutual labels:  tailwind-css
cra-tailwindcss-in-js
Integrate Tailwind CSS in a Create React App setup using css-in-js solutions
Stars: ✭ 35 (-85.36%)
Mutual labels:  tailwind-css
synthwave-generator
Generate Synthwave band names. For science.
Stars: ✭ 24 (-89.96%)
Mutual labels:  tailwind-css

RustyWind Mean Bean CI npm version

Install

Available via npm

yarn global add rustywind

or

npm install -g rustywind

or

Install from a github release:

curl -LSfs https://avencera.github.io/rustywind/install.sh | sh -s -- --git avencera/rustywind

or

Download a release directly from github: github.com/avencera/rustywind/releases

or

You can use the dockerized version

docker run --rm -v $PWD:/app avencera/rustywind:latest <rustywind arguments>

Usage

Run rustywind with a path to output updated file contents to the terminal:

  • rustywind .

If you want to reorganize all classes in place, and change the files run with the --write flag

  • rustywind --write .

Run rustywind with a path and the --dry-run to get a list of files that will be changed:

  • rustywind --dry-run .

Run rustywind on your STDIN:

  • echo "<FILE CONTENTS>" | rustywind --stdin

Run in CI, exit with error if unsorted classes are found:

  • rustywind --check-formatted .

Run RustyWind with a custom sorter. The config_file.json should have a top level entry of sortOrder which is an array with the classes listed in the order you want them sorted.

  • rustywind --config-file config_file.json
RustyWind 0.14.0
Praveen Perera <[email protected]>

USAGE:
    Run rustywind with a path to get a list of files that will be changed
      rustywind . --dry-run

    If you want to reorganize all classes in place, and change the files run with the `--write` flag
      rustywind --write .

    To print only the file names that would be changed run with the `--check-formatted` flag
      rustywind --check-formatted .

    If you want to run it on your STDIN, you can do:
      echo "<FILE CONTENTS>" | rustywind --stdin

    rustywind [FLAGS] <PATH>

ARGS:
    <PATH>...    A file or directory to run on

OPTIONS:
   --allow-duplicates
       When set, RustyWind will not delete duplicated classes

   --check-formatted
       Checks if the files are already formatted, exits with 1 if not formatted

   --config-file <CONFIG_FILE>
       When set, RustyWind will use the config file to derive configurations. The config file
       current only supports json with one property sortOrder,e.g. { "sortOrder": ["class1",
       ...] }

   --custom-regex <CUSTOM_REGEX>
       Uses a custom regex instead of default one

   --dry-run
       Prints out the new file content with the sorted classes to the terminal

    -h, --help
       Print help information

   --ignored-files <IGNORED_FILES>
       When set, RustyWind will ignore this list of files

   --stdin
       Uses stdin instead of a file or folder

    -V, --version
       Print version information

   --write
            Changes the files in place with the reorganized classes

What

Inspired by Ryan Heybourn's headwind vscode plugin. This is a CLI tool that will look through your project and sort all Tailwind CSS classes.

It will also delete any duplicate classes it finds.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].