cms-installer/config/00_app.yml
2015-03-02 21:22:57 +01:00

43 lines
925 B
YAML

app:
version: 0.1
author: 'Simon Vieille'
contact: 'simon@deblan.fr / www.deblan.tv'
rules:
"version|v-s" : ~
"list|l-s" : ~
"help|h-s" : ~
"install|i=s" : ~
"to|d=s" : ~
"create-dir|cd" : ~
configuration:
to: {hide: true}
create-dir: {hide: true}
version:
description: "Show CMS Installer version"
param: ~
callback:
class: Information
method: version
help:
description: "Show help"
param: '[command]'
callback:
class: Information
method: help
list:
description: "Show CMS list"
param: '[cms]'
callback:
class: Information
method: list
install:
param: 'name [--version version] [--to destination [--create-dir]]'
description: "Install a CMS"
callback:
class: Installation
method: install