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
74 75 76 77 78 79 80 |
# File 'lib/duple/cli/config.rb', line 74 def all environments groups pre_refresh post_refresh other end |
#environments ⇒ Object
49 50 51 |
# File 'lib/duple/cli/config.rb', line 49 def environments print_hash('Environments', config.environments) end |
#groups ⇒ Object
54 55 56 |
# File 'lib/duple/cli/config.rb', line 54 def groups print_hash('Groups', config.groups) end |
#other ⇒ Object
69 70 71 |
# File 'lib/duple/cli/config.rb', line 69 def other print_hash('Other Options', config.) end |
#post_refresh ⇒ Object
64 65 66 |
# File 'lib/duple/cli/config.rb', line 64 def post_refresh print_tasks('Post-Refresh Tasks', config.post_refresh_tasks) end |
#pre_refresh ⇒ Object
59 60 61 |
# File 'lib/duple/cli/config.rb', line 59 def pre_refresh print_tasks('Pre-Refresh Tasks', config.pre_refresh_tasks) end |