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 and Description
    `CreateSite()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(CliEnvironment cle)` Executes the command.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CreateSite

          public CreateSite()

  - ### Method Detail

    - #### execute

          public void execute(CliEnvironment cle)
                       throws BusinessException

      Description copied from interface: `ExecutableCliCommand`
      Executes the command.
      Specified by:
        `execute` in interface `ExecutableCliCommand`
      Parameters:
        `cle` - the `CliEnvironment` to use
      Throws:
        `BusinessException` - if on error occurs while executing the command

Copyright © 2011–2023 aiticon GmbH. All rights reserved.