Method: FluentCommandBuilder::TeamFoundationTEE::V100::Labels#login

Defined in:
lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb

#login(username, password = nil) {|@b| ... } ⇒ Object

Yields:

  • (@b)


971
972
973
974
975
976
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 971

def (username, password=nil)
  @b.append " -login:#{@b.format username}"
  @b.append ",#{@b.format_password password}" unless password.nil?
  yield @b if block_given?
  self
end