scroll Github

Usage

Scroll comes with 4 straightforward subcommand:

New


Create new site.

USAGE:
    scroll new <site_name>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <site_name>

Build


Build the site.

USAGE:
    scroll build [FLAGS]

FLAGS:
    -h, --help          Prints help information
    -s, --then-serve    Start serve and watch on local after build the site.
    -V, --version       Prints version information

Serve


Serve static site for local usage and test.

USAGE:
    scroll serve [FLAGS] [OPTIONS]

FLAGS:
    -h, --help        Prints help information
    -n, --no-watch    Don't watch file changes, only serve
    -V, --version     Prints version information

OPTIONS:
    -p, --port <port>    Specify port to serve. [default: 1919]

Watch


Only Watch and Rebuild files.

USAGE:
    scroll watch

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information