1.0.0 • Published 9 years ago

saja v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Saja

A super small CLI for Sassyjade

Usage

$ saja <yourProject>

This command will fetch the latest version of Sassyjade boilerplate and install all its dependencies in a new folder called "yourProject", relative to the folder from where you ran the command.

Since the command also installs all necessary dependencies via npm you might run into some permission errors. In this case try to execute the command as super user: $ sudo saja <yourProject>.

Configure Jade

After the installation is complete saja will allow you to configure config.jade via command line.

$ Do you want Saja to help you configure your project? (Y/n) > Y

The values in parenthesis are the default values used if you don't pass any value. You can change config.jade later on at any time. You can set the following options:

OptionDescriptionDefault
Project nameThe title of your siteThe project name you passed to saja
Project rootFull root path of your application, such as a path in the file system or a full URIPath to folder in which you ran $ saja
CSS nameThe path and name of your css filecss/main.css
JavaScript nameThe path and name of your javascript filejs/main.js

Create a blank project

$ saja --blank <yourProject>

If you don't want the default folder and file structre of Sassyjade add the --blank flag. You can also just use -b instead. This will give you a gulpfile.js, together with the package.json and sassyjade.config.json. From there you can start to configure and build your project manually.

License

MIT © philister16