Sha256: ad6cce47b873017c9a457ee5b2457b042965055e94e92d4e358de7a026affd28

Contents?: true

Size: 705 Bytes

Versions: 10

Compression:

Stored size: 705 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'webgen/cli/utils'
require 'webgen/cli/commands/create_website'
require 'webgen/cli/commands/create_bundle'

module Webgen
  module CLI

    # The CLI command for creating various products, like a basic website or an extension bundle.
    class CreateCommand < CmdParse::Command

      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

    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
webgen-1.7.3 lib/webgen/cli/commands/create.rb
webgen-1.7.2 lib/webgen/cli/commands/create.rb
webgen-1.7.1 lib/webgen/cli/commands/create.rb
webgen-1.7.0 lib/webgen/cli/commands/create.rb
webgen-1.6.0 lib/webgen/cli/commands/create.rb
webgen-1.5.2 lib/webgen/cli/commands/create.rb
webgen-1.5.1 lib/webgen/cli/commands/create.rb
webgen-1.5.0 lib/webgen/cli/commands/create.rb
webgen-1.4.1 lib/webgen/cli/commands/create.rb
webgen-1.4.0 lib/webgen/cli/commands/create.rb