Sha256: 24c7cce20452bb3ff435153e31b6ec00cc35c9e4424254c33634b83c91ec5cd6
Contents?: true
Size: 1.15 KB
Versions: 5
Compression:
Stored size: 1.15 KB
Contents
# -*- encoding: utf-8 -*- require 'webgen/cli/utils' require 'webgen/cli/commands/show_extensions' require 'webgen/cli/commands/show_config' require 'webgen/cli/commands/show_dependencies' require 'webgen/cli/commands/show_tree' require 'webgen/cli/commands/show_bundles' module Webgen module CLI # The CLI command for showing various information about webgen itself or a webgen website. class ShowCommand < CmdParse::Command def initialize # :nodoc: super('show', true, true, false) self.short_desc = 'Show various information about webgen or a website' self.description = Webgen::CLI::Utils.format_command_desc(<<DESC) Groups various commands together that are used for showing information about webgen, like available extensions or configuration options. If a sub-command is invoked in the context of a webgen website, information about the website is also included. DESC add_command(ShowConfigCommand.new) add_command(ShowExtensionsCommand.new) add_command(ShowDependenciesCommand.new) add_command(ShowTreeCommand.new) add_command(ShowBundlesCommand.new) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems