Create swup plugins and themes in seconds, or validate your website.
$ npm install -g @swup/cli
$ swup COMMAND
running command...
$ swup (-v|--version|version)
@swup/cli/0.3.3 darwin-x64 node-v10.15.3
$ swup --help [COMMAND]
USAGE
$ swup COMMAND
...Create new swup plugin and themes in seconds.
USAGE
$ swup create
OPTIONS
-n, --name=name (required) Defines name of plugin (Swup[YourName]Plugin).
-r, --repo=repo Defines git repository url of plugin.
-t, --type=plugin|theme [default: plugin] Can choose to create theme instead.
See code: src/commands/create.js
display help for swup
USAGE
$ swup help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
Validate your site pages.
USAGE
$ swup validate
OPTIONS
-c, --config=config [default: swup.config.js] Defines name of swup
config file.
-r, --runTests=all|containers|transition-duration|transition-styles [default: all] Run only specific test
-t, --testUrl=testUrl Run tests for single URL.
See code: src/commands/validate.js