Class: FluentCommandBuilder::TeamFoundationTEE::V100::ShowLocalFolderMapping

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, local_folder) ⇒ ShowLocalFolderMapping

Returns a new instance of ShowLocalFolderMapping.



1578
1579
1580
1581
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1578

def initialize(underlying_builder, local_folder)
  super underlying_builder
  @b.append " workfold #{@b.format local_folder}"
end

Instance Method Details

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

Yields:

  • (@b)


1582
1583
1584
1585
1586
1587
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1582

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