Module: Proteus::Commands::StateCommands::List
- Defined in:
- lib/proteus/commands/state/list.rb
Class Method Summary collapse
Class Method Details
.included(thor_class) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/proteus/commands/state/list.rb', line 5 def self.included(thor_class) thor_class.class_eval do desc "list", "List resources in the state" def list list_cmd = " cd \#{context_path(context)} && \\\n terraform state list\n LIST_CMD\n\n init(verbose: parent_options[:verbose])\n\n syscall list_cmd.squeeze(' ')\n end\n\n end\nend\n" |