Skip to content

Latest commit

 

History

History
137 lines (105 loc) · 2.79 KB

ApplySkeletonCommand.md

File metadata and controls

137 lines (105 loc) · 2.79 KB

apply

  • Description: Apply a skeleton to a Skylab project

  • Usage:

    • apply [--hideLogo] [--no-interactive] [-l|--list] [--] [<project>] [<skeleton>]

The apply command applies a skeleton, and all it's dependencies to a project. It will run the "create" method in the skeleton to setup all the requirements for that skeleton.

php skylab.phar apply -l # Lists all available skeletons php skylab.phar apply # Will ask for a project and skeleton to apply php skylab.phar apply testproject anacron # Will apply the anacron skeleton to testproject

Arguments:

project:

  • Name: project
  • Is required: no
  • Is array: no
  • Description: The name of the kServer project
  • Default: NULL

skeleton:

  • Name: skeleton
  • Is required: no
  • Is array: no
  • Description: The name of the skeleton
  • Default: NULL

Options:

hideLogo:

  • Name: --hideLogo
  • Shortcut:
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: If set, no logo or statistics will be shown
  • Default: false

no-interactive:

  • Name: --no-interactive
  • Shortcut:
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: If set, no questions will be asked
  • Default: false

list:

  • Name: --list
  • Shortcut: -l
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: Lists all available skeletons
  • Default: false

help:

  • Name: --help
  • Shortcut: -h
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: Display this help message
  • Default: false

quiet:

  • Name: --quiet
  • Shortcut: -q
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: Do not output any message
  • Default: false

verbose:

  • Name: --verbose
  • Shortcut: -v|-vv|-vvv
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  • Default: false

version:

  • Name: --version
  • Shortcut: -V
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: Display this application version
  • Default: false

ansi:

  • Name: --ansi
  • Shortcut:
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: Force ANSI output
  • Default: false

no-ansi:

  • Name: --no-ansi
  • Shortcut:
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: Disable ANSI output
  • Default: false

no-interaction:

  • Name: --no-interaction
  • Shortcut: -n
  • Accept value: no
  • Is value required: no
  • Is multiple: no
  • Description: Do not ask any interactive question
  • Default: false

Documentation generated on 2015-08-09 17:44:20