Class: RubyFly::Commands::GetPipeline

Inherits:
Base
  • Object
show all
Includes:
Mixins::Environment, Mixins::RequiredParams
Defined in:
lib/ruby_fly/commands/get_pipeline.rb

Instance Attribute Summary

Attributes inherited from Base

#binary, #stderr, #stdin, #stdout

Instance Method Summary collapse

Methods included from Mixins::Environment

#for_environment, #initialize

Methods inherited from Base

#do_after, #do_around, #do_before, #execute, #initialize, #instantiate_builder

Instance Method Details

#configure_command(builder, opts) ⇒ Object



14
15
16
17
18
19
20
21
22
# File 'lib/ruby_fly/commands/get_pipeline.rb', line 14

def configure_command(builder, opts)
  builder = super(builder, opts)
  builder
    .with_subcommand('get-pipeline') do |sub|
    sub = with_target(sub, opts[:target])
    sub = with_pipeline(sub, opts[:pipeline])
    sub
  end
end