Class: FluentCommandBuilder::TeamFoundation::V100::Merge
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Merge
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_100.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, source, destination) ⇒ Merge
Returns a new instance of Merge.
1098
1099
1100
1101
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1098
def initialize(underlying_builder, source, destination)
super underlying_builder
@b.append " merge #{@b.format source} #{@b.format destination}"
end
|
Instance Method Details
#baseless {|@b| ... } ⇒ Object
1137
1138
1139
1140
1141
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1137
def baseless
@b.append ' /baseless'
yield @b if block_given?
self
end
|
#candidate {|@b| ... } ⇒ Object
1112
1113
1114
1115
1116
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1112
def candidate
@b.append ' /candidate'
yield @b if block_given?
self
end
|
#conservative {|@b| ... } ⇒ Object
1152
1153
1154
1155
1156
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1152
def conservative
@b.append ' /conservative'
yield @b if block_given?
self
end
|
#discard {|@b| ... } ⇒ Object
1117
1118
1119
1120
1121
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1117
def discard
@b.append ' /discard'
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
1107
1108
1109
1110
1111
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1107
def force
@b.append ' /force'
yield @b if block_given?
self
end
|
1157
1158
1159
1160
1161
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1157
def format(format)
@b.append " /format:#{@b.format format}"
yield @b if block_given?
self
end
|
#lock(lock_type) {|@b| ... } ⇒ Object
1127
1128
1129
1130
1131
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1127
def lock(lock_type)
@b.append " /lock:#{@b.format lock_type}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1167
1168
1169
1170
1171
1172
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1167
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
|
#no_implicit_baseless {|@b| ... } ⇒ Object
1147
1148
1149
1150
1151
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1147
def no_implicit_baseless
@b.append ' /noImplicitBaseless'
yield @b if block_given?
self
end
|
#no_prompt {|@b| ... } ⇒ Object
1162
1163
1164
1165
1166
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1162
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#no_summary {|@b| ... } ⇒ Object
1142
1143
1144
1145
1146
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1142
def no_summary
@b.append ' /noSummary'
yield @b if block_given?
self
end
|
#preview {|@b| ... } ⇒ Object
1132
1133
1134
1135
1136
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1132
def preview
@b.append ' /preview'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1102
1103
1104
1105
1106
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1102
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
1122
1123
1124
1125
1126
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1122
def version(version_spec)
@b.append " /version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|