Class: Webgen::CLI::ShowCommand
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- Webgen::CLI::ShowCommand
- Defined in:
- lib/webgen/cli/commands/show.rb
Overview
The CLI command for showing various information about webgen itself or a webgen website.
Instance Method Summary collapse
-
#initialize ⇒ ShowCommand
constructor
:nodoc:.
Constructor Details
#initialize ⇒ ShowCommand
:nodoc:
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/webgen/cli/commands/show.rb', line 16 def initialize # :nodoc: super('show', takes_commands: true) short_desc('Show various information about webgen or a website') long_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 |