Package org.appng.cli.commands.site
Class CreateSite
- java.lang.Object
-
- org.appng.cli.commands.site.CreateSite
-
- All Implemented Interfaces:
ExecutableCliCommand
public class CreateSite extends Object implements ExecutableCliCommand
Creates a site.
Usage: appng create-site [options] Options: * -d The site domain, as it should appear in URLs (incl. protocol and optionally port). -e Enable site. Default: false * -h The site host. * -n The site name. -r create a repository for the site. Default: false -t The site description.
- Author:
- Matthias Herlitzius
-
-
Constructor Summary
Constructors Constructor Description CreateSite()
-
-
-
Method Detail
-
execute
public void execute(CliEnvironment cle) throws BusinessException
Description copied from interface:ExecutableCliCommand
Executes the command.- Specified by:
execute
in interfaceExecutableCliCommand
- Parameters:
cle
- theCliEnvironment
to use- Throws:
BusinessException
- if on error occurs while executing the command
-
-