Skip to content
/ cli Public

Create swup plugins and themes in seconds, or validate your website 🚤

License

Notifications You must be signed in to change notification settings

swup/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@swup/cli

Create swup plugins and themes in seconds, or validate your website.

oclif Version Downloads/week License

Usage

$ 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
...

Commands

swup create

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

swup help [COMMAND]

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

swup validate

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

About

Create swup plugins and themes in seconds, or validate your website 🚤

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  
  •  
  •  

Contributors 4

  •  
  •  
  •  
  •