Class: Webgen::CLI::CreateCommand
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- Webgen::CLI::CreateCommand
- Defined in:
- lib/webgen/cli/commands/create.rb
Overview
The CLI command for creating various products, like a basic website or an extension bundle.
Instance Method Summary collapse
-
#initialize ⇒ CreateCommand
constructor
:nodoc:.
Constructor Details
#initialize ⇒ CreateCommand
:nodoc:
13 14 15 16 17 18 19 20 |
# File 'lib/webgen/cli/commands/create.rb', line 13 def initialize # :nodoc: super('create') short_desc('Create a website or an extension bundle') long_desc("Groups various commands together that are used for creating products, like a " + "website or an extension bundle") add_command(CreateWebsiteCommand.new) add_command(CreateBundleCommand.new) end |