Class: RubyFly::Commands::Login
- Includes:
- Mixins::Environment, Mixins::RequiredParams
- Defined in:
- lib/ruby_fly/commands/login.rb
Instance Attribute Summary
Attributes inherited from Base
#binary, #stderr, #stdin, #stdout
Instance Method Summary collapse
Methods included from Mixins::Environment
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 23 24 25 | # File 'lib/ruby_fly/commands/login.rb', line 14 def configure_command(builder, opts) builder = super(builder, opts) builder .with_subcommand('login') do |sub| sub = with_target(sub, opts[:target]) sub = with_concourse_url(sub, opts[:concourse_url]) sub = with_username(sub, opts[:username]) sub = with_password(sub, opts[:password]) sub = with_team(sub, opts[:team]) sub end end |