Class: FluentCommandBuilder::TeamFoundationTEE::V100::Merges
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Merges
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, destination, source = nil) ⇒ Merges
Returns a new instance of Merges.
1090
1091
1092
1093
1094
1095
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1090
def initialize(underlying_builder, destination, source=nil)
super underlying_builder
@b.append ' merges'
@b.append " #{@b.format source}" unless source.nil?
@b.append " #{@b.format destination}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1122
1123
1124
1125
1126
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1122
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#extended {|@b| ... } ⇒ Object
1101
1102
1103
1104
1105
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1101
def extended
@b.append ' -extended'
yield @b if block_given?
self
end
|
1106
1107
1108
1109
1110
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1106
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1111
1112
1113
1114
1115
1116
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1111
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
|
#recursive {|@b| ... } ⇒ Object
1096
1097
1098
1099
1100
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1096
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#show_all {|@b| ... } ⇒ Object
1117
1118
1119
1120
1121
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1117
def show_all
@b.append ' -showAll'
yield @b if block_given?
self
end
|