Module: MuxTf::Cli
- Extended by:
- PiotrbCliUtils::Util
- Defined in:
- lib/mux_tf/cli.rb,
lib/mux_tf/cli/mux.rb,
lib/mux_tf/cli/current.rb,
lib/mux_tf/cli/plan_summary.rb
Defined Under Namespace
Modules: Current, Mux, PlanSummary
Class Method Summary collapse
Class Method Details
.run(mode, args) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/mux_tf/cli.rb', line 7 def self.run(mode, args) case mode when :mux require_relative "cli/mux" MuxTf::Cli::Mux.run(args) when :current require_relative "cli/current" MuxTf::Cli::Current.run(args) when :plan_summary require_relative "cli/plan_summary" MuxTf::Cli::PlanSummary.run(args) else fail_with "unhandled mode: #{mode.inspect}" end end |