forked from ungleich-public/cdist
Merge install feature from 4.0-pre-not-stable.
This commit is contained in:
commit
cca6693b2e
119 changed files with 2567 additions and 1 deletions
|
|
@ -61,6 +61,7 @@ def commandline():
|
|||
|
||||
import cdist.banner
|
||||
import cdist.config
|
||||
import cdist.install
|
||||
import cdist.shell
|
||||
import shutil
|
||||
import os
|
||||
|
|
@ -161,6 +162,11 @@ def commandline():
|
|||
' should be POSIX compatible shell.'))
|
||||
parser['shell'].set_defaults(func=cdist.shell.Shell.commandline)
|
||||
|
||||
# Install
|
||||
parser['install'] = parser['sub'].add_parser('install', add_help=False,
|
||||
parents=[parser['config']])
|
||||
parser['install'].set_defaults(func=cdist.install.Install.commandline)
|
||||
|
||||
for p in parser:
|
||||
parser[p].epilog = (
|
||||
"Get cdist at http://www.nico.schottelius.org/software/cdist/")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue