Class: FluentCommandBuilder::TeamFoundationTEE::V101::ShowLocalFolderMapping

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/team_foundation_tee_101.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.



1696
1697
1698
1699
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1696

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)


1700
1701
1702
1703
1704
1705
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1700

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