Sha256: c9d347cca5bf96798a231d5da4c9d538689381bc9a7f4befdc7f800132ee2328

Contents?: true

Size: 883 Bytes

Versions: 3

Compression:

Stored size: 883 Bytes

Contents

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

require 'webgen/cli/utils'
require 'webgen/cli/install_bundle_command'
require 'webgen/cli/list_bundle_command'
require 'webgen/cli/create_bundle_command'

module Webgen
  module CLI

    # The CLI command for bundle related operations.
    class BundleCommand < CmdParse::Command

      def initialize # :nodoc:
        super('bundle', true, true, false)
        self.short_desc = 'Work with extension bundles'
        self.description = Webgen::CLI::Utils.format_command_desc(<<DESC)
Groups various commands together that are used for working with extension bundles. If
a sub-command is invoked in the context of a webgen website, information about the
website is also included.
DESC
        add_command(ListBundleCommand.new, true)
        add_command(InstallBundleCommand.new)
        add_command(CreateBundleCommand.new)
      end

    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webgen-1.0.0.beta3 lib/webgen/cli/bundle_command.rb
webgen-1.0.0.beta2 lib/webgen/cli/bundle_command.rb
webgen-1.0.0.beta1 lib/webgen/cli/bundle_command.rb