slot-cli

0.0.16 • Public • Published

NPM version GitHub version

Slot Command Line Interface

The official Slot Command-Line Interface, a friendly tool for easy handle Slot Framework projects (manage projects, fragments, REST services and Html5 Themes), see more at Slot CLI Docs.

slot -h

$ slot -h
  Usage: slot-cli [options] [command]

  Commands:

    *

    create [project]
       Create a new project on folder [name]

    start [options]
       Start servers on current slot project, without parameters, it starts the designer server by default

    add [options]
       Add a new object to current slot project


    Options:
      
      -h, --help     output usage information
      -V, --version  output the version number

slot create -h

$ slot create -h
  Usage: create [options] [project]

  Options:

    -t, --theme [theme]          Which theme_id to use
    -h, --help  output usage information

slot add -h

$ slot add -h
  Usage: add [options]

  Options:

    -h, --help                 output usage information
    -p, --page [page]          Which page name to use
    -f, --fragment [fragment]  Which fragment name to use
    -r, --rest [rest]          Which rest service name to use

slot start -h

$ slot start -h
  Usage: start [options]

  Options:

    -h, --help     output usage information
    -s, --design   Start the designer server on current slot project
    -d, --develop  Start the development server on current slot project
    -a, --all      Start designer and development server on current slot project

Package Sidebar

Install

npm i slot-cli

Weekly Downloads

2

Version

0.0.16

License

none

Last publish

Collaborators

  • cecheverria