Class: MapTool::Command

Inherits:
CLAide::Command
  • Object
show all
Defined in:
lib/maptool/command.rb

Overview

Usage

Direct Known Subclasses

Dependency, Release, Tag

Constant Summary collapse

DEFAULT_OPTIONS =
[['--help', 'Show help banner of specified command'],]

Class Method Summary collapse

Class Method Details

.optionsObject



22
23
24
25
26
27
28
# File 'lib/maptool/command.rb', line 22

def self.options
    if root_command?
        DEFAULT_ROOT_OPTIONS + DEFAULT_OPTIONS
    else
        DEFAULT_OPTIONS
    end
end