The easiest way to get help is through the commandline by running
roger help
or to get help on a specific subcommand
roger help [subcommand]
roger generate [generator] [options]
roger serve [options]
Starts a webserver (port 9000 by default)
roger release [options]
Releases the project
roger test [options]
Tests the project
All commands accept these options.
Options:
-v, [--verbose] # Set's verbose output
-h, [--help] # Help
All processors/middleware/etc. can use custom options. Roger will parse any leftover option that starts with --
and sets it in the project.options
hash. It even supports setting nested keys by using :
as a separator. This means that --release:rsync:disable=true
will become: {release: { rsync: { disable: true}}}
in the options hash.
The commandline parser will work with flags in the following formats:
--key
will just set the flag totrue
--key=value
and--key value
will set the key:key
to"value"
--key=true
and--key=false
will convert to booleantrue
andfalse