@sage-cli/plugin-setup
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.1 • Public • Published

Preset plugin for sage

Swap the front-end scaffolding for the theme.

Version Known Vulnerabilities Downloads/week License

$ npm install -g @sage-cli/plugin-setup
$ sage COMMAND
running command...
$ sage (-v|--version|version)
@sage-cli/plugin-setup/1.0.0-alpha.1 linux-x64 node-v10.15.3
$ sage --help [COMMAND]
USAGE
  $ sage COMMAND
...

sage setup

Sets theme headers and other metadata.

USAGE
  $ sage setup

OPTIONS
  -Y, --suppress                 Suppress warnings when overwriting or deleting files
  -a, --author=author            Author
  -d, --description=description  Description
  -i, --text_domain=text_domain  Text Domain
  -l, --license=license          Theme license
  -n, --name=name                Theme Name
  -p, --template=template        Template (parent theme)
  -t, --tags=tags                Tags (comma separated)
  -u, --uri=uri                  Theme URI
  -v, --version=version          Theme Version
  --author_uri=author_uri        Author URI
  --banner=banner                Banner (appears after the headers)
  --force                        Disregard all failsafes.
  --license_uri=license_uri      License URI
  --no-interaction               Do not ask any interactive questions
  --path=path                    Custom path to Sage theme

EXAMPLE
  $ sage setup --name=Sage --version=10.0.0 --uri=https://roots.io/ --description='Sage is a WordPress starter theme' 
  --author='Roots <https://roots.io/>' --license='MIT <http://opensource.org/licenses/MIT>' 
  --tags=wordpress,sage,bootstrap

See code: src/commands/setup/index.ts

Readme

Keywords

Package Sidebar

Install

npm i @sage-cli/plugin-setup

Weekly Downloads

7

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

20.1 kB

Total Files

11

Last publish

Collaborators

  • qwp6t