sass-align - nicely align property values in .sass files
sass-align in-file out-file
sass-align -s|--stdin [out-file]
sass-align -e|--edit-in-place in-file [in-file...]
sass-align -R|--recursive directory
gem install sass-align
sass-align is a command-line tool to format .sass files in the mildly idiosyncratic style used at Unspace. That means:
@extend calls are placed at an (at least) 30-character left offset.- (e.g. left: -30px) or a . (e.g. @extend .button), in which case they're shifted left 1 character.#wrapper
  .sidebar
    :border-top               8px solid black
    :margin-right            -100px
  .content
    :width                    500px
    @extend                  .helvetica
-s, --stdinRead input from standard input instead of an input file.
-e, --edit-in-placeEdit files in place. Make sure you've backed them up (preferably using version control).
-R, --recursiveFormat all the files in a directory. Implies the `-e' flag.
-o N, --offset NSpecify left character offset for property values (default 30).
Report bugs and get righteously indignant about style decisions at the Github page.
Copyright 2011 by Aanand Prasad under the MIT license (see the LICENSE file).