Class: MapTool::Command
- Inherits:
-
CLAide::Command
- Object
- CLAide::Command
- MapTool::Command
- Defined in:
- lib/maptool/command.rb
Overview
Usage
Direct Known Subclasses
Constant Summary collapse
- DEFAULT_OPTIONS =
[['--help', 'Show help banner of specified command'],]
Class Method Summary collapse
Class Method Details
.options ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/maptool/command.rb', line 22 def self. if root_command? DEFAULT_ROOT_OPTIONS + DEFAULT_OPTIONS else DEFAULT_OPTIONS end end |