Class: Duple::CLI::Config
- Inherits:
-
Thor
- Object
- Thor
- Duple::CLI::Config
- Includes:
- Helpers
- Defined in:
- lib/duple/cli/config.rb
Overview
Options:
-c, [--config=CONFIG] # The location of the config file.
Instance Method Summary collapse
- #all ⇒ Object
- #environments ⇒ Object
- #groups ⇒ Object
- #other ⇒ Object
- #post_refresh ⇒ Object
- #pre_refresh ⇒ Object
Methods included from Helpers
Instance Method Details
#all ⇒ Object
77 78 79 80 81 82 83 |
# File 'lib/duple/cli/config.rb', line 77 def all environments groups pre_refresh post_refresh other end |
#environments ⇒ Object
52 53 54 |
# File 'lib/duple/cli/config.rb', line 52 def environments print_hash('Environments', config.environments) end |
#groups ⇒ Object
57 58 59 |
# File 'lib/duple/cli/config.rb', line 57 def groups print_hash('Groups', config.groups) end |
#other ⇒ Object
72 73 74 |
# File 'lib/duple/cli/config.rb', line 72 def other print_hash('Other Options', config.) end |
#post_refresh ⇒ Object
67 68 69 |
# File 'lib/duple/cli/config.rb', line 67 def post_refresh print_tasks('Post-Refresh Tasks', config.post_refresh_tasks) end |
#pre_refresh ⇒ Object
62 63 64 |
# File 'lib/duple/cli/config.rb', line 62 def pre_refresh print_tasks('Pre-Refresh Tasks', config.pre_refresh_tasks) end |