sully

1.0.8 • Public • Published

Sully logo

Sully.js CLI

Sully is a "WVC" (Whatever View Controller) framework. We make no assumptions about your data layer, whilst providing a structure for logic and templating.

Getting started

$ npm i sully -g

Because the tool is only for creating and building projects, it's appropriate and more convenient to install it globally.

Usage

Creating a new project

$ sully new <project-name> <template>

The new command will pull a project template and extract it and ensure you are all ready to go. We recommend using "starter" (without the quotes) as your template; however, you can pop any url in here which points to a Sully template (zipped).

Building a project

$ sully build

The build command will compile your controllers, middleware, views, and routes. It will build a development and a production version, which will both be written to your specified locations in build.json.

The autobuilder

$ sully autobuilder <path>

The autobuilder will listen for changes and perform automatic builds. The path parameter is option, and will tell the autobuilder to listen for changes only in the specified file or directory. If no path is specified, the autobuilder will listen for changes in all files.

Dev server

$ sully serve <port>

Sully will spin up a local Express server on your machine. The port parameter is option and must be an integer. If no port is provided, the server will listen on 3000.

Releases

$ sully release

Create a release as per the details provided in your build.json.

For all things Sully: sullyjs.org

Package Sidebar

Install

npm i sully

Homepage

sullyjs.org

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

17.2 kB

Total Files

3

Last publish

Collaborators

  • alexharwood