Class: FluentCommandBuilder::TeamFoundationTEE::V100::ShowWorkspaceMappings
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::ShowWorkspaceMappings
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, workspace_name) ⇒ ShowWorkspaceMappings
1590
1591
1592
1593
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1590
def initialize(underlying_builder, workspace_name)
super underlying_builder
@b.append " workfold -workspace:#{@b.format workspace_name}"
end
|
Instance Method Details
#login(username, password = nil) {|@b| ... } ⇒ Object
1594
1595
1596
1597
1598
1599
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1594
def login(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
|