Class: Atlasq::Command::Usage
- Inherits:
-
Base
- Object
- Base
- Atlasq::Command::Usage
show all
- Defined in:
- lib/atlasq/command/usage.rb
Instance Attribute Summary
Attributes inherited from Base
#search_terms
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize, run
Class Method Details
9
10
11
|
# File 'lib/atlasq/command/usage.rb', line 9
def self.
false
end
|
Instance Method Details
#content ⇒ String
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/atlasq/command/usage.rb', line 14
def content
<<~USAGE
atlasq -- a utility to query country info
usage:
atlasq query...
atlasq [command] query...
atlasq -h/--help
atlasq -v/--version
commands:
-c/--country : find countries
-r/--region : find countries by region
-m/--money : find countries by currency
USAGE
end
|