fluent_command_builder 0.5.6 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/command_version_detector.rb +1 -0
- data/lib/fluent_command_builder/command_base.rb +20 -11
- data/lib/fluent_command_builder/command_builders/appcfg_python.rb +17 -0
- data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +1059 -1059
- data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +1055 -1055
- data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +17 -0
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +46 -46
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +46 -46
- data/lib/fluent_command_builder/command_builders/bundle.rb +17 -0
- data/lib/fluent_command_builder/command_builders/bundle_11.rb +140 -140
- data/lib/fluent_command_builder/command_builders/cucumber.rb +17 -0
- data/lib/fluent_command_builder/command_builders/cucumber_11.rb +76 -76
- data/lib/fluent_command_builder/command_builders/cucumber_12.rb +78 -78
- data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +17 -0
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +91 -86
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +91 -86
- data/lib/fluent_command_builder/command_builders/dotcover.rb +17 -0
- data/lib/fluent_command_builder/command_builders/dotcover_10.rb +33 -33
- data/lib/fluent_command_builder/command_builders/dotcover_11.rb +133 -133
- data/lib/fluent_command_builder/command_builders/dotcover_12.rb +133 -133
- data/lib/fluent_command_builder/command_builders/dotcover_20.rb +137 -137
- data/lib/fluent_command_builder/command_builders/installutil.rb +17 -0
- data/lib/fluent_command_builder/command_builders/installutil_11.rb +31 -31
- data/lib/fluent_command_builder/command_builders/installutil_20.rb +33 -33
- data/lib/fluent_command_builder/command_builders/installutil_35.rb +33 -33
- data/lib/fluent_command_builder/command_builders/installutil_40.rb +36 -36
- data/lib/fluent_command_builder/command_builders/msbuild.rb +17 -0
- data/lib/fluent_command_builder/command_builders/msbuild_20.rb +43 -43
- data/lib/fluent_command_builder/command_builders/msbuild_30.rb +43 -43
- data/lib/fluent_command_builder/command_builders/msbuild_35.rb +59 -59
- data/lib/fluent_command_builder/command_builders/msbuild_40.rb +62 -62
- data/lib/fluent_command_builder/command_builders/msdeploy.rb +17 -0
- data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +177 -0
- data/lib/fluent_command_builder/command_builders/mstest.rb +17 -0
- data/lib/fluent_command_builder/command_builders/mstest_100.rb +127 -0
- data/lib/fluent_command_builder/command_builders/mstest_80.rb +107 -0
- data/lib/fluent_command_builder/command_builders/mstest_90.rb +112 -0
- data/lib/fluent_command_builder/command_builders/netsh.rb +17 -0
- data/lib/fluent_command_builder/command_builders/netsh_61.rb +408 -0
- data/lib/fluent_command_builder/command_builders/nunit.rb +17 -0
- data/lib/fluent_command_builder/command_builders/nunit_25.rb +69 -64
- data/lib/fluent_command_builder/command_builders/nunit_26.rb +85 -80
- data/lib/fluent_command_builder/command_builders/rake.rb +17 -0
- data/lib/fluent_command_builder/command_builders/rake_09.rb +64 -64
- data/lib/fluent_command_builder/command_builders/security_osx.rb +17 -0
- data/lib/fluent_command_builder/command_builders/security_osx_107.rb +82 -82
- data/lib/fluent_command_builder/command_builders/sevenzip.rb +17 -0
- data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +243 -243
- data/lib/fluent_command_builder/command_builders/simian.rb +17 -0
- data/lib/fluent_command_builder/command_builders/simian_23.rb +63 -63
- data/lib/fluent_command_builder/command_builders/team_foundation.rb +17 -0
- data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +2155 -0
- data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +17 -0
- data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +1978 -0
- data/lib/fluent_command_builder/command_builders/xcodebuild.rb +17 -0
- data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +112 -112
- data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +132 -132
- data/lib/fluent_command_builder/{command_builder.rb → underlying_builder.rb} +2 -2
- data/lib/fluent_command_builder/util.rb +18 -0
- data/lib/fluent_command_builder/version_detectors/appcfg_python.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/aspnet_compiler.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/bundle.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/cucumber.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/dev_appserver_python.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/dotcover.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/installutil.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/lib/appengine_python_version_detector.rb +16 -0
- data/lib/fluent_command_builder/version_detectors/lib/path_finder.rb +43 -0
- data/lib/fluent_command_builder/version_detectors/lib/standard_version_detector.rb +14 -0
- data/lib/fluent_command_builder/version_detectors/msbuild.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/msdeploy.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/mstest.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/nuget.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/nunit.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/rake.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/security_osx.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/sevenzip.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/team_foundation.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/xcodebuild.rb +9 -0
- data/lib/fluent_command_builder.rb +26 -7
- metadata +53 -12
- data/lib/fluent_command_builder/command_builders/msdeploy_40.rb +0 -177
- data/lib/fluent_command_builder/command_builders/mstest_2005.rb +0 -107
- data/lib/fluent_command_builder/command_builders/mstest_2008.rb +0 -112
- data/lib/fluent_command_builder/command_builders/mstest_2010.rb +0 -127
- data/lib/fluent_command_builder/command_builders/netsh_2008.rb +0 -408
- data/lib/fluent_command_builder/command_builders/tf_2010.rb +0 -2155
- data/lib/fluent_command_builder/command_builders/tf_tee_2010.rb +0 -1978
@@ -1,2155 +0,0 @@
|
|
1
|
-
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
2
|
-
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
3
|
-
|
4
|
-
module FluentCommandBuilder
|
5
|
-
module Tf
|
6
|
-
module V2010
|
7
|
-
COMMAND_NAME = 'tf'
|
8
|
-
class Tf < CommandBase
|
9
|
-
def initialize(builder)
|
10
|
-
super builder
|
11
|
-
end
|
12
|
-
def add(item_spec)
|
13
|
-
Add.new @builder, item_spec
|
14
|
-
end
|
15
|
-
def branch(old_item, new_item)
|
16
|
-
Branch.new @builder, old_item, new_item
|
17
|
-
end
|
18
|
-
def branches(item_spec)
|
19
|
-
Branches.new @builder, item_spec
|
20
|
-
end
|
21
|
-
def changeset(changeset_number=nil)
|
22
|
-
Changeset.new @builder, changeset_number
|
23
|
-
end
|
24
|
-
def checkin(item_spec=nil)
|
25
|
-
Checkin.new @builder, item_spec
|
26
|
-
end
|
27
|
-
def checkin_shelveset(shelveset_name, shelveset_owner=nil)
|
28
|
-
CheckinShelveset.new @builder, shelveset_name, shelveset_owner
|
29
|
-
end
|
30
|
-
def checkout(item_spec=nil)
|
31
|
-
Checkout.new @builder, item_spec
|
32
|
-
end
|
33
|
-
def configure(path_of_team_project=nil)
|
34
|
-
Configure.new @builder, path_of_team_project
|
35
|
-
end
|
36
|
-
def delete(item_spec)
|
37
|
-
Delete.new @builder, item_spec
|
38
|
-
end
|
39
|
-
def destroy(item_spec)
|
40
|
-
Destroy.new @builder, item_spec
|
41
|
-
end
|
42
|
-
def compare_with_current_workspace_version(item_spec)
|
43
|
-
CompareWithCurrentWorkspaceVersion.new @builder, item_spec
|
44
|
-
end
|
45
|
-
def compare(item_spec, item_spec2)
|
46
|
-
Compare.new @builder, item_spec, item_spec2
|
47
|
-
end
|
48
|
-
def compare_with_shelveset_version(shelveset_item_spec)
|
49
|
-
CompareWithShelvesetVersion.new @builder, shelveset_item_spec
|
50
|
-
end
|
51
|
-
def configure_compare_tool
|
52
|
-
@builder.append ' difference /configure'
|
53
|
-
yield @builder if block_given?
|
54
|
-
self
|
55
|
-
end
|
56
|
-
def dir(item_spec)
|
57
|
-
Dir.new @builder, item_spec
|
58
|
-
end
|
59
|
-
def folder_diff(target_path, source_path=nil)
|
60
|
-
FolderDiff.new @builder, target_path, source_path
|
61
|
-
end
|
62
|
-
def get(item_spec=nil)
|
63
|
-
Get.new @builder, item_spec
|
64
|
-
end
|
65
|
-
def help(command_name=nil)
|
66
|
-
@builder.append ' help'
|
67
|
-
@builder.append " #{@builder.format command_name}" unless command_name.nil?
|
68
|
-
yield @builder if block_given?
|
69
|
-
self
|
70
|
-
end
|
71
|
-
def history(item_spec)
|
72
|
-
History.new @builder, item_spec
|
73
|
-
end
|
74
|
-
def label(label_name, item_spec, scope=nil)
|
75
|
-
Label.new @builder, label_name, item_spec, scope
|
76
|
-
end
|
77
|
-
def delete_label(label_name, item_spec, scope=nil)
|
78
|
-
DeleteLabel.new @builder, label_name, item_spec, scope
|
79
|
-
end
|
80
|
-
def labels(label_name=nil)
|
81
|
-
Labels.new @builder, label_name
|
82
|
-
end
|
83
|
-
def local_versions(item_spec)
|
84
|
-
LocalVersions.new @builder, item_spec
|
85
|
-
end
|
86
|
-
def lock(item_spec)
|
87
|
-
Lock.new @builder, item_spec
|
88
|
-
end
|
89
|
-
def merge(source, destination)
|
90
|
-
Merge.new @builder, source, destination
|
91
|
-
end
|
92
|
-
def merges(destination, source=nil)
|
93
|
-
Merges.new @builder, destination, source
|
94
|
-
end
|
95
|
-
def msdn(command_name=nil)
|
96
|
-
@builder.append ' msdn'
|
97
|
-
@builder.append " #{@builder.format command_name}" unless command_name.nil?
|
98
|
-
yield @builder if block_given?
|
99
|
-
self
|
100
|
-
end
|
101
|
-
def permission(item_spec)
|
102
|
-
Permission.new @builder, item_spec
|
103
|
-
end
|
104
|
-
def properties(item_spec)
|
105
|
-
Properties.new @builder, item_spec
|
106
|
-
end
|
107
|
-
def configure_proxy(url)
|
108
|
-
ConfigureProxy.new @builder, url
|
109
|
-
end
|
110
|
-
def add_proxy_record(url)
|
111
|
-
AddProxyRecord.new @builder, url
|
112
|
-
end
|
113
|
-
def delete_proxy_record(url)
|
114
|
-
DeleteProxyRecord.new @builder, url
|
115
|
-
end
|
116
|
-
def list_proxy_records(url)
|
117
|
-
ListProxyRecords.new @builder, url
|
118
|
-
end
|
119
|
-
def enable_proxy
|
120
|
-
@builder.append ' proxy /enabled:true'
|
121
|
-
yield @builder if block_given?
|
122
|
-
self
|
123
|
-
end
|
124
|
-
def disable_proxy
|
125
|
-
@builder.append ' proxy /enabled:false'
|
126
|
-
yield @builder if block_given?
|
127
|
-
self
|
128
|
-
end
|
129
|
-
def rename(old_item, new_item)
|
130
|
-
Rename.new @builder, old_item, new_item
|
131
|
-
end
|
132
|
-
def resolve(item_spec=nil)
|
133
|
-
Resolve.new @builder, item_spec
|
134
|
-
end
|
135
|
-
def rollback_to_version(version_spec, item_spec)
|
136
|
-
RollbackToVersion.new @builder, version_spec, item_spec
|
137
|
-
end
|
138
|
-
def rollback_changeset(changeset_from, changeset_to=nil, item_spec=nil)
|
139
|
-
RollbackChangeset.new @builder, changeset_from, changeset_to, item_spec
|
140
|
-
end
|
141
|
-
def replace_shelveset(shelveset_name)
|
142
|
-
ReplaceShelveset.new @builder, shelveset_name
|
143
|
-
end
|
144
|
-
def shelve(shelveset_name, item_spec)
|
145
|
-
Shelve.new @builder, shelveset_name, item_spec
|
146
|
-
end
|
147
|
-
def delete_shelveset(shelveset_name, shelveset_owner=nil)
|
148
|
-
DeleteShelveset.new @builder, shelveset_name, shelveset_owner
|
149
|
-
end
|
150
|
-
def shelvesets(shelveset_name=nil)
|
151
|
-
Shelvesets.new @builder, shelveset_name
|
152
|
-
end
|
153
|
-
def status(item_spec)
|
154
|
-
Status.new @builder, item_spec
|
155
|
-
end
|
156
|
-
def undelete(item_spec, deletion_id=nil)
|
157
|
-
Undelete.new @builder, item_spec, deletion_id
|
158
|
-
end
|
159
|
-
def undo(item_spec)
|
160
|
-
Undo.new @builder, item_spec
|
161
|
-
end
|
162
|
-
def unlabel(label_name, item_spec)
|
163
|
-
Unlabel.new @builder, label_name, item_spec
|
164
|
-
end
|
165
|
-
def unshelve(shelveset_name=nil, username=nil, item_spec=nil)
|
166
|
-
Unshelve.new @builder, shelveset_name, username, item_spec
|
167
|
-
end
|
168
|
-
def view(item_spec)
|
169
|
-
View.new @builder, item_spec
|
170
|
-
end
|
171
|
-
def show_local_folder_mapping(local_folder)
|
172
|
-
ShowLocalFolderMapping.new @builder, local_folder
|
173
|
-
end
|
174
|
-
def show_workspace_mappings(workspace_name)
|
175
|
-
ShowWorkspaceMappings.new @builder, workspace_name
|
176
|
-
end
|
177
|
-
def show_server_folder_mappings(server_folder)
|
178
|
-
ShowServerFolderMappings.new @builder, server_folder
|
179
|
-
end
|
180
|
-
def map_folder(server_folder, local_folder)
|
181
|
-
MapFolder.new @builder, server_folder, local_folder
|
182
|
-
end
|
183
|
-
def unmap_folder
|
184
|
-
UnmapFolder.new @builder
|
185
|
-
end
|
186
|
-
def cloak_folder(server_folder)
|
187
|
-
CloakFolder.new @builder, server_folder
|
188
|
-
end
|
189
|
-
def decloak_folder(server_folder)
|
190
|
-
DecloakFolder.new @builder, server_folder
|
191
|
-
end
|
192
|
-
def create_workspace(workspace_name, workspace_owner=nil)
|
193
|
-
CreateWorkspace.new @builder, workspace_name, workspace_owner
|
194
|
-
end
|
195
|
-
def delete_workspace(workspace_name, workspace_owner=nil)
|
196
|
-
DeleteWorkspace.new @builder, workspace_name, workspace_owner
|
197
|
-
end
|
198
|
-
def modify_workspace(workspace_name=nil, workspace_owner=nil)
|
199
|
-
ModifyWorkspace.new @builder, workspace_name, workspace_owner
|
200
|
-
end
|
201
|
-
def workspaces(workspace_name=nil)
|
202
|
-
Workspaces.new @builder, workspace_name
|
203
|
-
end
|
204
|
-
def remove_workspace(workspace_name)
|
205
|
-
RemoveWorkspace.new @builder, workspace_name
|
206
|
-
end
|
207
|
-
end
|
208
|
-
class Add < CommandBase
|
209
|
-
def initialize(builder, item_spec)
|
210
|
-
super builder
|
211
|
-
@builder.append " add #{@builder.format item_spec}"
|
212
|
-
end
|
213
|
-
def lock(lock_type)
|
214
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
215
|
-
yield @builder if block_given?
|
216
|
-
self
|
217
|
-
end
|
218
|
-
def type(file_type)
|
219
|
-
@builder.append " /type:#{@builder.format file_type}"
|
220
|
-
yield @builder if block_given?
|
221
|
-
self
|
222
|
-
end
|
223
|
-
def no_prompt
|
224
|
-
@builder.append ' /noPrompt'
|
225
|
-
yield @builder if block_given?
|
226
|
-
self
|
227
|
-
end
|
228
|
-
def recursive
|
229
|
-
@builder.append ' /recursive'
|
230
|
-
yield @builder if block_given?
|
231
|
-
self
|
232
|
-
end
|
233
|
-
def login(username, password=nil)
|
234
|
-
@builder.append " /login:#{@builder.format username}"
|
235
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
236
|
-
yield @builder if block_given?
|
237
|
-
self
|
238
|
-
end
|
239
|
-
end
|
240
|
-
class Branch < CommandBase
|
241
|
-
def initialize(builder, old_item, new_item)
|
242
|
-
super builder
|
243
|
-
@builder.append " branch #{@builder.format old_item} #{@builder.format new_item}"
|
244
|
-
end
|
245
|
-
def version(version_spec)
|
246
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
247
|
-
yield @builder if block_given?
|
248
|
-
self
|
249
|
-
end
|
250
|
-
def no_get
|
251
|
-
@builder.append ' /noGet'
|
252
|
-
yield @builder if block_given?
|
253
|
-
self
|
254
|
-
end
|
255
|
-
def lock(lock_type)
|
256
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
257
|
-
yield @builder if block_given?
|
258
|
-
self
|
259
|
-
end
|
260
|
-
def no_prompt
|
261
|
-
@builder.append ' /noPrompt'
|
262
|
-
yield @builder if block_given?
|
263
|
-
self
|
264
|
-
end
|
265
|
-
def silent
|
266
|
-
@builder.append ' /silent'
|
267
|
-
yield @builder if block_given?
|
268
|
-
self
|
269
|
-
end
|
270
|
-
def checkin
|
271
|
-
@builder.append ' /checkin'
|
272
|
-
yield @builder if block_given?
|
273
|
-
self
|
274
|
-
end
|
275
|
-
def comment(comment)
|
276
|
-
@builder.append " /comment:#{@builder.format comment}"
|
277
|
-
yield @builder if block_given?
|
278
|
-
self
|
279
|
-
end
|
280
|
-
def author(author_name)
|
281
|
-
@builder.append " /author:#{@builder.format author_name}"
|
282
|
-
yield @builder if block_given?
|
283
|
-
self
|
284
|
-
end
|
285
|
-
def login(username, password=nil)
|
286
|
-
@builder.append " /login:#{@builder.format username}"
|
287
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
288
|
-
yield @builder if block_given?
|
289
|
-
self
|
290
|
-
end
|
291
|
-
end
|
292
|
-
class Branches < CommandBase
|
293
|
-
def initialize(builder, item_spec)
|
294
|
-
super builder
|
295
|
-
@builder.append " branches #{@builder.format item_spec}"
|
296
|
-
end
|
297
|
-
def version(version_spec)
|
298
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
299
|
-
yield @builder if block_given?
|
300
|
-
self
|
301
|
-
end
|
302
|
-
def collection(team_project_collection_url)
|
303
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
304
|
-
yield @builder if block_given?
|
305
|
-
self
|
306
|
-
end
|
307
|
-
def login(username, password=nil)
|
308
|
-
@builder.append " /login:#{@builder.format username}"
|
309
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
310
|
-
yield @builder if block_given?
|
311
|
-
self
|
312
|
-
end
|
313
|
-
end
|
314
|
-
class Changeset < CommandBase
|
315
|
-
def initialize(builder, changeset_number=nil)
|
316
|
-
super builder
|
317
|
-
@builder.append ' changeset'
|
318
|
-
@builder.append " #{@builder.format changeset_number}" unless changeset_number.nil?
|
319
|
-
end
|
320
|
-
def comment(comment)
|
321
|
-
@builder.append " /comment:#{@builder.format comment}"
|
322
|
-
yield @builder if block_given?
|
323
|
-
self
|
324
|
-
end
|
325
|
-
def notes(notes)
|
326
|
-
@builder.append " /notes:#{@builder.format notes, ';', '='}"
|
327
|
-
yield @builder if block_given?
|
328
|
-
self
|
329
|
-
end
|
330
|
-
def no_prompt
|
331
|
-
@builder.append ' /noPrompt'
|
332
|
-
yield @builder if block_given?
|
333
|
-
self
|
334
|
-
end
|
335
|
-
def collection(team_project_collection_url)
|
336
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
337
|
-
yield @builder if block_given?
|
338
|
-
self
|
339
|
-
end
|
340
|
-
def latest
|
341
|
-
@builder.append ' /latest'
|
342
|
-
yield @builder if block_given?
|
343
|
-
self
|
344
|
-
end
|
345
|
-
def login(username, password=nil)
|
346
|
-
@builder.append " /login:#{@builder.format username}"
|
347
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
348
|
-
yield @builder if block_given?
|
349
|
-
self
|
350
|
-
end
|
351
|
-
end
|
352
|
-
class Checkin < CommandBase
|
353
|
-
def initialize(builder, item_spec=nil)
|
354
|
-
super builder
|
355
|
-
@builder.append ' checkin'
|
356
|
-
@builder.append " #{@builder.format item_spec}" unless item_spec.nil?
|
357
|
-
end
|
358
|
-
def author(author_name)
|
359
|
-
@builder.append " /author:#{@builder.format author_name}"
|
360
|
-
yield @builder if block_given?
|
361
|
-
self
|
362
|
-
end
|
363
|
-
def comment(comment)
|
364
|
-
@builder.append " /comment:#{@builder.format comment}"
|
365
|
-
yield @builder if block_given?
|
366
|
-
self
|
367
|
-
end
|
368
|
-
def no_prompt
|
369
|
-
@builder.append ' /noPrompt'
|
370
|
-
yield @builder if block_given?
|
371
|
-
self
|
372
|
-
end
|
373
|
-
def notes(notes)
|
374
|
-
@builder.append " /notes:#{@builder.format notes, ';', '='}"
|
375
|
-
yield @builder if block_given?
|
376
|
-
self
|
377
|
-
end
|
378
|
-
def override(reason)
|
379
|
-
@builder.append " /override:#{@builder.format reason}"
|
380
|
-
yield @builder if block_given?
|
381
|
-
self
|
382
|
-
end
|
383
|
-
def recursive
|
384
|
-
@builder.append ' /recursive'
|
385
|
-
yield @builder if block_given?
|
386
|
-
self
|
387
|
-
end
|
388
|
-
def saved
|
389
|
-
@builder.append ' /saved'
|
390
|
-
yield @builder if block_given?
|
391
|
-
self
|
392
|
-
end
|
393
|
-
def validate
|
394
|
-
@builder.append ' /validate'
|
395
|
-
yield @builder if block_given?
|
396
|
-
self
|
397
|
-
end
|
398
|
-
def bypass
|
399
|
-
@builder.append ' /bypass'
|
400
|
-
yield @builder if block_given?
|
401
|
-
self
|
402
|
-
end
|
403
|
-
def login(username, password=nil)
|
404
|
-
@builder.append " /login:#{@builder.format username}"
|
405
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
406
|
-
yield @builder if block_given?
|
407
|
-
self
|
408
|
-
end
|
409
|
-
def force
|
410
|
-
@builder.append ' /force'
|
411
|
-
yield @builder if block_given?
|
412
|
-
self
|
413
|
-
end
|
414
|
-
end
|
415
|
-
class CheckinShelveset < CommandBase
|
416
|
-
def initialize(builder, shelveset_name, shelveset_owner=nil)
|
417
|
-
super builder
|
418
|
-
@builder.append " checkin /shelveset:#{@builder.format shelveset_name}"
|
419
|
-
@builder.append ";#{@builder.format shelveset_owner}" unless shelveset_owner.nil?
|
420
|
-
end
|
421
|
-
def bypass
|
422
|
-
@builder.append ' /bypass'
|
423
|
-
yield @builder if block_given?
|
424
|
-
self
|
425
|
-
end
|
426
|
-
def no_prompt
|
427
|
-
@builder.append ' /noPrompt'
|
428
|
-
yield @builder if block_given?
|
429
|
-
self
|
430
|
-
end
|
431
|
-
def login(username, password=nil)
|
432
|
-
@builder.append " /login:#{@builder.format username}"
|
433
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
434
|
-
yield @builder if block_given?
|
435
|
-
self
|
436
|
-
end
|
437
|
-
def collection(team_project_collection_url)
|
438
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
439
|
-
yield @builder if block_given?
|
440
|
-
self
|
441
|
-
end
|
442
|
-
def author(author_name)
|
443
|
-
@builder.append " /author:#{@builder.format author_name}"
|
444
|
-
yield @builder if block_given?
|
445
|
-
self
|
446
|
-
end
|
447
|
-
def force
|
448
|
-
@builder.append ' /force'
|
449
|
-
yield @builder if block_given?
|
450
|
-
self
|
451
|
-
end
|
452
|
-
end
|
453
|
-
class Checkout < CommandBase
|
454
|
-
def initialize(builder, item_spec=nil)
|
455
|
-
super builder
|
456
|
-
@builder.append ' checkout'
|
457
|
-
@builder.append " #{@builder.format item_spec}" unless item_spec.nil?
|
458
|
-
end
|
459
|
-
def lock(lock_type)
|
460
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
461
|
-
yield @builder if block_given?
|
462
|
-
self
|
463
|
-
end
|
464
|
-
def recursive
|
465
|
-
@builder.append ' /recursive'
|
466
|
-
yield @builder if block_given?
|
467
|
-
self
|
468
|
-
end
|
469
|
-
def type(encoding)
|
470
|
-
@builder.append " /type:#{@builder.format encoding}"
|
471
|
-
yield @builder if block_given?
|
472
|
-
self
|
473
|
-
end
|
474
|
-
def login(username, password=nil)
|
475
|
-
@builder.append " /login:#{@builder.format username}"
|
476
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
477
|
-
yield @builder if block_given?
|
478
|
-
self
|
479
|
-
end
|
480
|
-
end
|
481
|
-
class Configure < CommandBase
|
482
|
-
def initialize(builder, path_of_team_project=nil)
|
483
|
-
super builder
|
484
|
-
@builder.append ' configure'
|
485
|
-
@builder.append " #{@builder.format path_of_team_project}" unless path_of_team_project.nil?
|
486
|
-
end
|
487
|
-
def collection(team_project_collection_url)
|
488
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
489
|
-
yield @builder if block_given?
|
490
|
-
self
|
491
|
-
end
|
492
|
-
def login(username, password=nil)
|
493
|
-
@builder.append " /login:#{@builder.format username}"
|
494
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
495
|
-
yield @builder if block_given?
|
496
|
-
self
|
497
|
-
end
|
498
|
-
end
|
499
|
-
class Delete < CommandBase
|
500
|
-
def initialize(builder, item_spec)
|
501
|
-
super builder
|
502
|
-
@builder.append " delete #{@builder.format item_spec}"
|
503
|
-
end
|
504
|
-
def lock(lock_type)
|
505
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
506
|
-
yield @builder if block_given?
|
507
|
-
self
|
508
|
-
end
|
509
|
-
def recursive
|
510
|
-
@builder.append ' /recursive'
|
511
|
-
yield @builder if block_given?
|
512
|
-
self
|
513
|
-
end
|
514
|
-
def login(username, password=nil)
|
515
|
-
@builder.append " /login:#{@builder.format username}"
|
516
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
517
|
-
yield @builder if block_given?
|
518
|
-
self
|
519
|
-
end
|
520
|
-
end
|
521
|
-
class Destroy < CommandBase
|
522
|
-
def initialize(builder, item_spec)
|
523
|
-
super builder
|
524
|
-
@builder.append " destroy #{@builder.format item_spec}"
|
525
|
-
end
|
526
|
-
def keep_history
|
527
|
-
@builder.append ' /keepHistory'
|
528
|
-
yield @builder if block_given?
|
529
|
-
self
|
530
|
-
end
|
531
|
-
def stop_at(version_spec)
|
532
|
-
@builder.append " /stopAt:#{@builder.format version_spec}"
|
533
|
-
yield @builder if block_given?
|
534
|
-
self
|
535
|
-
end
|
536
|
-
def preview
|
537
|
-
@builder.append ' /preview'
|
538
|
-
yield @builder if block_given?
|
539
|
-
self
|
540
|
-
end
|
541
|
-
def start_cleanup
|
542
|
-
@builder.append ' /startCleanup'
|
543
|
-
yield @builder if block_given?
|
544
|
-
self
|
545
|
-
end
|
546
|
-
def no_prompt
|
547
|
-
@builder.append ' /noPrompt'
|
548
|
-
yield @builder if block_given?
|
549
|
-
self
|
550
|
-
end
|
551
|
-
def silent
|
552
|
-
@builder.append ' /silent'
|
553
|
-
yield @builder if block_given?
|
554
|
-
self
|
555
|
-
end
|
556
|
-
def login(username, password=nil)
|
557
|
-
@builder.append " /login:#{@builder.format username}"
|
558
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
559
|
-
yield @builder if block_given?
|
560
|
-
self
|
561
|
-
end
|
562
|
-
def collection(team_project_collection_url)
|
563
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
564
|
-
yield @builder if block_given?
|
565
|
-
self
|
566
|
-
end
|
567
|
-
end
|
568
|
-
class CompareWithCurrentWorkspaceVersion < CommandBase
|
569
|
-
def initialize(builder, item_spec)
|
570
|
-
super builder
|
571
|
-
@builder.append " difference #{@builder.format item_spec}"
|
572
|
-
end
|
573
|
-
def version(version_spec)
|
574
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
575
|
-
yield @builder if block_given?
|
576
|
-
self
|
577
|
-
end
|
578
|
-
def type(file_type)
|
579
|
-
@builder.append " /type:#{@builder.format file_type}"
|
580
|
-
yield @builder if block_given?
|
581
|
-
self
|
582
|
-
end
|
583
|
-
def format(format)
|
584
|
-
@builder.append " /format:#{@builder.format format}"
|
585
|
-
yield @builder if block_given?
|
586
|
-
self
|
587
|
-
end
|
588
|
-
def ignore_space
|
589
|
-
@builder.append ' /ignoreSpace'
|
590
|
-
yield @builder if block_given?
|
591
|
-
self
|
592
|
-
end
|
593
|
-
def ignore_eol
|
594
|
-
@builder.append ' /ignoreEol'
|
595
|
-
yield @builder if block_given?
|
596
|
-
self
|
597
|
-
end
|
598
|
-
def ignore_case
|
599
|
-
@builder.append ' /ignoreCase'
|
600
|
-
yield @builder if block_given?
|
601
|
-
self
|
602
|
-
end
|
603
|
-
def recursive
|
604
|
-
@builder.append ' /recursive'
|
605
|
-
yield @builder if block_given?
|
606
|
-
self
|
607
|
-
end
|
608
|
-
def options
|
609
|
-
@builder.append ' /options'
|
610
|
-
yield @builder if block_given?
|
611
|
-
self
|
612
|
-
end
|
613
|
-
def no_prompt
|
614
|
-
@builder.append ' /noPrompt'
|
615
|
-
yield @builder if block_given?
|
616
|
-
self
|
617
|
-
end
|
618
|
-
def login(username, password=nil)
|
619
|
-
@builder.append " /login:#{@builder.format username}"
|
620
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
621
|
-
yield @builder if block_given?
|
622
|
-
self
|
623
|
-
end
|
624
|
-
end
|
625
|
-
class Compare < CommandBase
|
626
|
-
def initialize(builder, item_spec, item_spec2)
|
627
|
-
super builder
|
628
|
-
@builder.append " difference #{@builder.format item_spec} #{@builder.format item_spec2}"
|
629
|
-
end
|
630
|
-
def type(file_type)
|
631
|
-
@builder.append " /type:#{@builder.format file_type}"
|
632
|
-
yield @builder if block_given?
|
633
|
-
self
|
634
|
-
end
|
635
|
-
def format(format)
|
636
|
-
@builder.append " /format:#{@builder.format format}"
|
637
|
-
yield @builder if block_given?
|
638
|
-
self
|
639
|
-
end
|
640
|
-
def ignore_space
|
641
|
-
@builder.append ' /ignoreSpace'
|
642
|
-
yield @builder if block_given?
|
643
|
-
self
|
644
|
-
end
|
645
|
-
def ignore_eol
|
646
|
-
@builder.append ' /ignoreEol'
|
647
|
-
yield @builder if block_given?
|
648
|
-
self
|
649
|
-
end
|
650
|
-
def ignore_case
|
651
|
-
@builder.append ' /ignoreCase'
|
652
|
-
yield @builder if block_given?
|
653
|
-
self
|
654
|
-
end
|
655
|
-
def recursive
|
656
|
-
@builder.append ' /recursive'
|
657
|
-
yield @builder if block_given?
|
658
|
-
self
|
659
|
-
end
|
660
|
-
def options
|
661
|
-
@builder.append ' /options'
|
662
|
-
yield @builder if block_given?
|
663
|
-
self
|
664
|
-
end
|
665
|
-
def no_prompt
|
666
|
-
@builder.append ' /noPrompt'
|
667
|
-
yield @builder if block_given?
|
668
|
-
self
|
669
|
-
end
|
670
|
-
def login(username, password=nil)
|
671
|
-
@builder.append " /login:#{@builder.format username}"
|
672
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
673
|
-
yield @builder if block_given?
|
674
|
-
self
|
675
|
-
end
|
676
|
-
end
|
677
|
-
class CompareWithShelvesetVersion < CommandBase
|
678
|
-
def initialize(builder, shelveset_item_spec)
|
679
|
-
super builder
|
680
|
-
@builder.append " difference #{@builder.format shelveset_item_spec}"
|
681
|
-
end
|
682
|
-
def shelveset(shelveset_name, shelveset_owner=nil)
|
683
|
-
@builder.append " /shelveset:#{@builder.format shelveset_name}"
|
684
|
-
@builder.append ";#{@builder.format shelveset_owner}" unless shelveset_owner.nil?
|
685
|
-
yield @builder if block_given?
|
686
|
-
self
|
687
|
-
end
|
688
|
-
def type(file_type)
|
689
|
-
@builder.append " /type:#{@builder.format file_type}"
|
690
|
-
yield @builder if block_given?
|
691
|
-
self
|
692
|
-
end
|
693
|
-
def format(format)
|
694
|
-
@builder.append " /format:#{@builder.format format}"
|
695
|
-
yield @builder if block_given?
|
696
|
-
self
|
697
|
-
end
|
698
|
-
def ignore_space
|
699
|
-
@builder.append ' /ignoreSpace'
|
700
|
-
yield @builder if block_given?
|
701
|
-
self
|
702
|
-
end
|
703
|
-
def ignore_eol
|
704
|
-
@builder.append ' /ignoreEol'
|
705
|
-
yield @builder if block_given?
|
706
|
-
self
|
707
|
-
end
|
708
|
-
def ignore_case
|
709
|
-
@builder.append ' /ignoreCase'
|
710
|
-
yield @builder if block_given?
|
711
|
-
self
|
712
|
-
end
|
713
|
-
def recursive
|
714
|
-
@builder.append ' /recursive'
|
715
|
-
yield @builder if block_given?
|
716
|
-
self
|
717
|
-
end
|
718
|
-
def options
|
719
|
-
@builder.append ' /options'
|
720
|
-
yield @builder if block_given?
|
721
|
-
self
|
722
|
-
end
|
723
|
-
def no_prompt
|
724
|
-
@builder.append ' /noPrompt'
|
725
|
-
yield @builder if block_given?
|
726
|
-
self
|
727
|
-
end
|
728
|
-
def login(username, password=nil)
|
729
|
-
@builder.append " /login:#{@builder.format username}"
|
730
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
731
|
-
yield @builder if block_given?
|
732
|
-
self
|
733
|
-
end
|
734
|
-
end
|
735
|
-
class Dir < CommandBase
|
736
|
-
def initialize(builder, item_spec)
|
737
|
-
super builder
|
738
|
-
@builder.append " dir #{@builder.format item_spec}"
|
739
|
-
end
|
740
|
-
def version(version_spec)
|
741
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
742
|
-
yield @builder if block_given?
|
743
|
-
self
|
744
|
-
end
|
745
|
-
def recursive
|
746
|
-
@builder.append ' /recursive'
|
747
|
-
yield @builder if block_given?
|
748
|
-
self
|
749
|
-
end
|
750
|
-
def folders
|
751
|
-
@builder.append ' /folders'
|
752
|
-
yield @builder if block_given?
|
753
|
-
self
|
754
|
-
end
|
755
|
-
def deleted
|
756
|
-
@builder.append ' /deleted'
|
757
|
-
yield @builder if block_given?
|
758
|
-
self
|
759
|
-
end
|
760
|
-
def login(username, password=nil)
|
761
|
-
@builder.append " /login:#{@builder.format username}"
|
762
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
763
|
-
yield @builder if block_given?
|
764
|
-
self
|
765
|
-
end
|
766
|
-
def collection(team_project_collection_url)
|
767
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
768
|
-
yield @builder if block_given?
|
769
|
-
self
|
770
|
-
end
|
771
|
-
end
|
772
|
-
class FolderDiff < CommandBase
|
773
|
-
def initialize(builder, target_path, source_path=nil)
|
774
|
-
super builder
|
775
|
-
@builder.append ' folderDiff'
|
776
|
-
@builder.append " #{@builder.format source_path}" unless source_path.nil?
|
777
|
-
@builder.append " #{@builder.format target_path}"
|
778
|
-
end
|
779
|
-
def recursive
|
780
|
-
@builder.append ' /recursive'
|
781
|
-
yield @builder if block_given?
|
782
|
-
self
|
783
|
-
end
|
784
|
-
def no_prompt
|
785
|
-
@builder.append ' /noPrompt'
|
786
|
-
yield @builder if block_given?
|
787
|
-
self
|
788
|
-
end
|
789
|
-
def collection(team_project_collection_url)
|
790
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
791
|
-
yield @builder if block_given?
|
792
|
-
self
|
793
|
-
end
|
794
|
-
def filter(filter)
|
795
|
-
@builder.append " /filter:#{@builder.format filter, ';'}"
|
796
|
-
yield @builder if block_given?
|
797
|
-
self
|
798
|
-
end
|
799
|
-
def filter_local_paths_only
|
800
|
-
@builder.append ' /filterLocalPathsOnly'
|
801
|
-
yield @builder if block_given?
|
802
|
-
self
|
803
|
-
end
|
804
|
-
def login(username, password=nil)
|
805
|
-
@builder.append " /login:#{@builder.format username}"
|
806
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
807
|
-
yield @builder if block_given?
|
808
|
-
self
|
809
|
-
end
|
810
|
-
def view(view)
|
811
|
-
@builder.append " /view:#{@builder.format view, ','}"
|
812
|
-
yield @builder if block_given?
|
813
|
-
self
|
814
|
-
end
|
815
|
-
end
|
816
|
-
class Get < CommandBase
|
817
|
-
def initialize(builder, item_spec=nil)
|
818
|
-
super builder
|
819
|
-
@builder.append ' get'
|
820
|
-
@builder.append " #{@builder.format item_spec}" unless item_spec.nil?
|
821
|
-
end
|
822
|
-
def version(version_spec)
|
823
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
824
|
-
yield @builder if block_given?
|
825
|
-
self
|
826
|
-
end
|
827
|
-
def all
|
828
|
-
@builder.append ' /all'
|
829
|
-
yield @builder if block_given?
|
830
|
-
self
|
831
|
-
end
|
832
|
-
def overwrite
|
833
|
-
@builder.append ' /overwrite'
|
834
|
-
yield @builder if block_given?
|
835
|
-
self
|
836
|
-
end
|
837
|
-
def force
|
838
|
-
@builder.append ' /force'
|
839
|
-
yield @builder if block_given?
|
840
|
-
self
|
841
|
-
end
|
842
|
-
def preview
|
843
|
-
@builder.append ' /preview'
|
844
|
-
yield @builder if block_given?
|
845
|
-
self
|
846
|
-
end
|
847
|
-
def recursive
|
848
|
-
@builder.append ' /recursive'
|
849
|
-
yield @builder if block_given?
|
850
|
-
self
|
851
|
-
end
|
852
|
-
def remap
|
853
|
-
@builder.append ' /remap'
|
854
|
-
yield @builder if block_given?
|
855
|
-
self
|
856
|
-
end
|
857
|
-
def no_prompt
|
858
|
-
@builder.append ' /noPrompt'
|
859
|
-
yield @builder if block_given?
|
860
|
-
self
|
861
|
-
end
|
862
|
-
def login(username, password=nil)
|
863
|
-
@builder.append " /login:#{@builder.format username}"
|
864
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
865
|
-
yield @builder if block_given?
|
866
|
-
self
|
867
|
-
end
|
868
|
-
end
|
869
|
-
class History < CommandBase
|
870
|
-
def initialize(builder, item_spec)
|
871
|
-
super builder
|
872
|
-
@builder.append " history #{@builder.format item_spec}"
|
873
|
-
end
|
874
|
-
def version(version_spec)
|
875
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
876
|
-
yield @builder if block_given?
|
877
|
-
self
|
878
|
-
end
|
879
|
-
def stop_after(number)
|
880
|
-
@builder.append " /stopAfter:#{@builder.format number}"
|
881
|
-
yield @builder if block_given?
|
882
|
-
self
|
883
|
-
end
|
884
|
-
def recursive
|
885
|
-
@builder.append ' /recursive'
|
886
|
-
yield @builder if block_given?
|
887
|
-
self
|
888
|
-
end
|
889
|
-
def user(user_name)
|
890
|
-
@builder.append " /user:#{@builder.format user_name}"
|
891
|
-
yield @builder if block_given?
|
892
|
-
self
|
893
|
-
end
|
894
|
-
def format(format)
|
895
|
-
@builder.append " /format:#{@builder.format format}"
|
896
|
-
yield @builder if block_given?
|
897
|
-
self
|
898
|
-
end
|
899
|
-
def slot_mode
|
900
|
-
@builder.append ' /slotMode'
|
901
|
-
yield @builder if block_given?
|
902
|
-
self
|
903
|
-
end
|
904
|
-
def item_mode
|
905
|
-
@builder.append ' /itemMode'
|
906
|
-
yield @builder if block_given?
|
907
|
-
self
|
908
|
-
end
|
909
|
-
def no_prompt
|
910
|
-
@builder.append ' /noPrompt'
|
911
|
-
yield @builder if block_given?
|
912
|
-
self
|
913
|
-
end
|
914
|
-
def login(username, password=nil)
|
915
|
-
@builder.append " /login:#{@builder.format username}"
|
916
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
917
|
-
yield @builder if block_given?
|
918
|
-
self
|
919
|
-
end
|
920
|
-
def sort(sort)
|
921
|
-
@builder.append " /sort:#{@builder.format sort}"
|
922
|
-
yield @builder if block_given?
|
923
|
-
self
|
924
|
-
end
|
925
|
-
def collection(team_project_collection_url)
|
926
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
927
|
-
yield @builder if block_given?
|
928
|
-
self
|
929
|
-
end
|
930
|
-
end
|
931
|
-
class Label < CommandBase
|
932
|
-
def initialize(builder, label_name, item_spec, scope=nil)
|
933
|
-
super builder
|
934
|
-
@builder.append " label #{@builder.format label_name}"
|
935
|
-
@builder.append "@#{@builder.format scope}" unless scope.nil?
|
936
|
-
@builder.append " #{@builder.format item_spec}"
|
937
|
-
end
|
938
|
-
def owner(owner_name)
|
939
|
-
@builder.append " /owner:#{@builder.format owner_name}"
|
940
|
-
yield @builder if block_given?
|
941
|
-
self
|
942
|
-
end
|
943
|
-
def version(version_spec)
|
944
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
945
|
-
yield @builder if block_given?
|
946
|
-
self
|
947
|
-
end
|
948
|
-
def comment(comment)
|
949
|
-
@builder.append " /comment:#{@builder.format comment}"
|
950
|
-
yield @builder if block_given?
|
951
|
-
self
|
952
|
-
end
|
953
|
-
def child(lock_type)
|
954
|
-
@builder.append " /child:#{@builder.format lock_type}"
|
955
|
-
yield @builder if block_given?
|
956
|
-
self
|
957
|
-
end
|
958
|
-
def recursive
|
959
|
-
@builder.append ' /recursive'
|
960
|
-
yield @builder if block_given?
|
961
|
-
self
|
962
|
-
end
|
963
|
-
def login(username, password=nil)
|
964
|
-
@builder.append " /login:#{@builder.format username}"
|
965
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
966
|
-
yield @builder if block_given?
|
967
|
-
self
|
968
|
-
end
|
969
|
-
def collection(team_project_collection_url)
|
970
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
971
|
-
yield @builder if block_given?
|
972
|
-
self
|
973
|
-
end
|
974
|
-
end
|
975
|
-
class DeleteLabel < CommandBase
|
976
|
-
def initialize(builder, label_name, item_spec, scope=nil)
|
977
|
-
super builder
|
978
|
-
@builder.append " label /delete #{@builder.format label_name}"
|
979
|
-
@builder.append "@#{@builder.format scope}" unless scope.nil?
|
980
|
-
@builder.append " #{@builder.format item_spec}"
|
981
|
-
end
|
982
|
-
def login(username, password=nil)
|
983
|
-
@builder.append " /login:#{@builder.format username}"
|
984
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
985
|
-
yield @builder if block_given?
|
986
|
-
self
|
987
|
-
end
|
988
|
-
def collection(team_project_collection_url)
|
989
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
990
|
-
yield @builder if block_given?
|
991
|
-
self
|
992
|
-
end
|
993
|
-
end
|
994
|
-
class Labels < CommandBase
|
995
|
-
def initialize(builder, label_name=nil)
|
996
|
-
super builder
|
997
|
-
@builder.append ' labels'
|
998
|
-
@builder.append " #{@builder.format label_name}" unless label_name.nil?
|
999
|
-
end
|
1000
|
-
def owner(owner_name)
|
1001
|
-
@builder.append " /owner:#{@builder.format owner_name}"
|
1002
|
-
yield @builder if block_given?
|
1003
|
-
self
|
1004
|
-
end
|
1005
|
-
def format(format)
|
1006
|
-
@builder.append " /format:#{@builder.format format}"
|
1007
|
-
yield @builder if block_given?
|
1008
|
-
self
|
1009
|
-
end
|
1010
|
-
def collection(team_project_collection_url)
|
1011
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1012
|
-
yield @builder if block_given?
|
1013
|
-
self
|
1014
|
-
end
|
1015
|
-
def login(username, password=nil)
|
1016
|
-
@builder.append " /login:#{@builder.format username}"
|
1017
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1018
|
-
yield @builder if block_given?
|
1019
|
-
self
|
1020
|
-
end
|
1021
|
-
end
|
1022
|
-
class LocalVersions < CommandBase
|
1023
|
-
def initialize(builder, item_spec)
|
1024
|
-
super builder
|
1025
|
-
@builder.append " localVersions #{@builder.format item_spec}"
|
1026
|
-
end
|
1027
|
-
def recursive
|
1028
|
-
@builder.append ' /recursive'
|
1029
|
-
yield @builder if block_given?
|
1030
|
-
self
|
1031
|
-
end
|
1032
|
-
def format(format)
|
1033
|
-
@builder.append " /format:#{@builder.format format}"
|
1034
|
-
yield @builder if block_given?
|
1035
|
-
self
|
1036
|
-
end
|
1037
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1038
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1039
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1040
|
-
yield @builder if block_given?
|
1041
|
-
self
|
1042
|
-
end
|
1043
|
-
def collection(team_project_collection_url)
|
1044
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1045
|
-
yield @builder if block_given?
|
1046
|
-
self
|
1047
|
-
end
|
1048
|
-
end
|
1049
|
-
class Lock < CommandBase
|
1050
|
-
def initialize(builder, item_spec)
|
1051
|
-
super builder
|
1052
|
-
@builder.append " lock #{@builder.format item_spec}"
|
1053
|
-
end
|
1054
|
-
def lock(lock_type)
|
1055
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
1056
|
-
yield @builder if block_given?
|
1057
|
-
self
|
1058
|
-
end
|
1059
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1060
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1061
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1062
|
-
yield @builder if block_given?
|
1063
|
-
self
|
1064
|
-
end
|
1065
|
-
def recursive
|
1066
|
-
@builder.append ' /recursive'
|
1067
|
-
yield @builder if block_given?
|
1068
|
-
self
|
1069
|
-
end
|
1070
|
-
def login(username, password=nil)
|
1071
|
-
@builder.append " /login:#{@builder.format username}"
|
1072
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1073
|
-
yield @builder if block_given?
|
1074
|
-
self
|
1075
|
-
end
|
1076
|
-
def collection(team_project_collection_url)
|
1077
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1078
|
-
yield @builder if block_given?
|
1079
|
-
self
|
1080
|
-
end
|
1081
|
-
end
|
1082
|
-
class Merge < CommandBase
|
1083
|
-
def initialize(builder, source, destination)
|
1084
|
-
super builder
|
1085
|
-
@builder.append " merge #{@builder.format source} #{@builder.format destination}"
|
1086
|
-
end
|
1087
|
-
def recursive
|
1088
|
-
@builder.append ' /recursive'
|
1089
|
-
yield @builder if block_given?
|
1090
|
-
self
|
1091
|
-
end
|
1092
|
-
def force
|
1093
|
-
@builder.append ' /force'
|
1094
|
-
yield @builder if block_given?
|
1095
|
-
self
|
1096
|
-
end
|
1097
|
-
def candidate
|
1098
|
-
@builder.append ' /candidate'
|
1099
|
-
yield @builder if block_given?
|
1100
|
-
self
|
1101
|
-
end
|
1102
|
-
def discard
|
1103
|
-
@builder.append ' /discard'
|
1104
|
-
yield @builder if block_given?
|
1105
|
-
self
|
1106
|
-
end
|
1107
|
-
def version(version_spec)
|
1108
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
1109
|
-
yield @builder if block_given?
|
1110
|
-
self
|
1111
|
-
end
|
1112
|
-
def lock(lock_type)
|
1113
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
1114
|
-
yield @builder if block_given?
|
1115
|
-
self
|
1116
|
-
end
|
1117
|
-
def preview
|
1118
|
-
@builder.append ' /preview'
|
1119
|
-
yield @builder if block_given?
|
1120
|
-
self
|
1121
|
-
end
|
1122
|
-
def baseless
|
1123
|
-
@builder.append ' /baseless'
|
1124
|
-
yield @builder if block_given?
|
1125
|
-
self
|
1126
|
-
end
|
1127
|
-
def no_summary
|
1128
|
-
@builder.append ' /noSummary'
|
1129
|
-
yield @builder if block_given?
|
1130
|
-
self
|
1131
|
-
end
|
1132
|
-
def no_implicit_baseless
|
1133
|
-
@builder.append ' /noImplicitBaseless'
|
1134
|
-
yield @builder if block_given?
|
1135
|
-
self
|
1136
|
-
end
|
1137
|
-
def conservative
|
1138
|
-
@builder.append ' /conservative'
|
1139
|
-
yield @builder if block_given?
|
1140
|
-
self
|
1141
|
-
end
|
1142
|
-
def format(format)
|
1143
|
-
@builder.append " /format:#{@builder.format format}"
|
1144
|
-
yield @builder if block_given?
|
1145
|
-
self
|
1146
|
-
end
|
1147
|
-
def no_prompt
|
1148
|
-
@builder.append ' /noPrompt'
|
1149
|
-
yield @builder if block_given?
|
1150
|
-
self
|
1151
|
-
end
|
1152
|
-
def login(username, password=nil)
|
1153
|
-
@builder.append " /login:#{@builder.format username}"
|
1154
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1155
|
-
yield @builder if block_given?
|
1156
|
-
self
|
1157
|
-
end
|
1158
|
-
end
|
1159
|
-
class Merges < CommandBase
|
1160
|
-
def initialize(builder, destination, source=nil)
|
1161
|
-
super builder
|
1162
|
-
@builder.append ' merges'
|
1163
|
-
@builder.append " #{@builder.format source}" unless source.nil?
|
1164
|
-
@builder.append " #{@builder.format destination}"
|
1165
|
-
end
|
1166
|
-
def recursive
|
1167
|
-
@builder.append ' /recursive'
|
1168
|
-
yield @builder if block_given?
|
1169
|
-
self
|
1170
|
-
end
|
1171
|
-
def extended
|
1172
|
-
@builder.append ' /extended'
|
1173
|
-
yield @builder if block_given?
|
1174
|
-
self
|
1175
|
-
end
|
1176
|
-
def format(format)
|
1177
|
-
@builder.append " /format:#{@builder.format format}"
|
1178
|
-
yield @builder if block_given?
|
1179
|
-
self
|
1180
|
-
end
|
1181
|
-
def login(username, password=nil)
|
1182
|
-
@builder.append " /login:#{@builder.format username}"
|
1183
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1184
|
-
yield @builder if block_given?
|
1185
|
-
self
|
1186
|
-
end
|
1187
|
-
def show_all
|
1188
|
-
@builder.append ' /showAll'
|
1189
|
-
yield @builder if block_given?
|
1190
|
-
self
|
1191
|
-
end
|
1192
|
-
def collection(team_project_collection_url)
|
1193
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1194
|
-
yield @builder if block_given?
|
1195
|
-
self
|
1196
|
-
end
|
1197
|
-
end
|
1198
|
-
class Permission < CommandBase
|
1199
|
-
def initialize(builder, item_spec)
|
1200
|
-
super builder
|
1201
|
-
@builder.append " permission #{@builder.format item_spec}"
|
1202
|
-
end
|
1203
|
-
def allow(permission)
|
1204
|
-
@builder.append " /allow:#{@builder.format permission, ','}"
|
1205
|
-
yield @builder if block_given?
|
1206
|
-
self
|
1207
|
-
end
|
1208
|
-
def deny(permission)
|
1209
|
-
@builder.append " /deny:#{@builder.format permission, ','}"
|
1210
|
-
yield @builder if block_given?
|
1211
|
-
self
|
1212
|
-
end
|
1213
|
-
def remove(permission)
|
1214
|
-
@builder.append " /remove:#{@builder.format permission, ','}"
|
1215
|
-
yield @builder if block_given?
|
1216
|
-
self
|
1217
|
-
end
|
1218
|
-
def inherit(inherit)
|
1219
|
-
@builder.append " /inherit:#{@builder.format inherit}"
|
1220
|
-
yield @builder if block_given?
|
1221
|
-
self
|
1222
|
-
end
|
1223
|
-
def user(user_name)
|
1224
|
-
@builder.append " /user:#{@builder.format user_name, ','}"
|
1225
|
-
yield @builder if block_given?
|
1226
|
-
self
|
1227
|
-
end
|
1228
|
-
def group(group_name)
|
1229
|
-
@builder.append " /group:#{@builder.format group_name, ','}"
|
1230
|
-
yield @builder if block_given?
|
1231
|
-
self
|
1232
|
-
end
|
1233
|
-
def collection(team_project_collection_url)
|
1234
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1235
|
-
yield @builder if block_given?
|
1236
|
-
self
|
1237
|
-
end
|
1238
|
-
def recursive
|
1239
|
-
@builder.append ' /recursive'
|
1240
|
-
yield @builder if block_given?
|
1241
|
-
self
|
1242
|
-
end
|
1243
|
-
def global
|
1244
|
-
@builder.append ' /global'
|
1245
|
-
yield @builder if block_given?
|
1246
|
-
self
|
1247
|
-
end
|
1248
|
-
def login(username, password=nil)
|
1249
|
-
@builder.append " /login:#{@builder.format username}"
|
1250
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1251
|
-
yield @builder if block_given?
|
1252
|
-
self
|
1253
|
-
end
|
1254
|
-
end
|
1255
|
-
class Properties < CommandBase
|
1256
|
-
def initialize(builder, item_spec)
|
1257
|
-
super builder
|
1258
|
-
@builder.append " properties #{@builder.format item_spec}"
|
1259
|
-
end
|
1260
|
-
def collection(team_project_collection_url)
|
1261
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1262
|
-
yield @builder if block_given?
|
1263
|
-
self
|
1264
|
-
end
|
1265
|
-
def recursive
|
1266
|
-
@builder.append ' /recursive'
|
1267
|
-
yield @builder if block_given?
|
1268
|
-
self
|
1269
|
-
end
|
1270
|
-
def login(username, password=nil)
|
1271
|
-
@builder.append " /login:#{@builder.format username}"
|
1272
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1273
|
-
yield @builder if block_given?
|
1274
|
-
self
|
1275
|
-
end
|
1276
|
-
def version(version_spec)
|
1277
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
1278
|
-
yield @builder if block_given?
|
1279
|
-
self
|
1280
|
-
end
|
1281
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1282
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1283
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1284
|
-
yield @builder if block_given?
|
1285
|
-
self
|
1286
|
-
end
|
1287
|
-
end
|
1288
|
-
class ConfigureProxy < CommandBase
|
1289
|
-
def initialize(builder, url)
|
1290
|
-
super builder
|
1291
|
-
@builder.append " proxy /configure #{@builder.format url}"
|
1292
|
-
end
|
1293
|
-
def collection(team_project_collection_url)
|
1294
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1295
|
-
yield @builder if block_given?
|
1296
|
-
self
|
1297
|
-
end
|
1298
|
-
def login(username, password=nil)
|
1299
|
-
@builder.append " /login:#{@builder.format username}"
|
1300
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1301
|
-
yield @builder if block_given?
|
1302
|
-
self
|
1303
|
-
end
|
1304
|
-
end
|
1305
|
-
class AddProxyRecord < CommandBase
|
1306
|
-
def initialize(builder, url)
|
1307
|
-
super builder
|
1308
|
-
@builder.append " proxy /add #{@builder.format url}"
|
1309
|
-
end
|
1310
|
-
def name(name)
|
1311
|
-
@builder.append " /name:#{@builder.format name}"
|
1312
|
-
yield @builder if block_given?
|
1313
|
-
self
|
1314
|
-
end
|
1315
|
-
def site(site_name)
|
1316
|
-
@builder.append " /site:#{@builder.format site_name}"
|
1317
|
-
yield @builder if block_given?
|
1318
|
-
self
|
1319
|
-
end
|
1320
|
-
def description(description)
|
1321
|
-
@builder.append " /description:#{@builder.format description}"
|
1322
|
-
yield @builder if block_given?
|
1323
|
-
self
|
1324
|
-
end
|
1325
|
-
def default(scope)
|
1326
|
-
@builder.append " /default:#{@builder.format scope}"
|
1327
|
-
yield @builder if block_given?
|
1328
|
-
self
|
1329
|
-
end
|
1330
|
-
def collection(team_project_collection_url)
|
1331
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1332
|
-
yield @builder if block_given?
|
1333
|
-
self
|
1334
|
-
end
|
1335
|
-
def login(username, password=nil)
|
1336
|
-
@builder.append " /login:#{@builder.format username}"
|
1337
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1338
|
-
yield @builder if block_given?
|
1339
|
-
self
|
1340
|
-
end
|
1341
|
-
end
|
1342
|
-
class DeleteProxyRecord < CommandBase
|
1343
|
-
def initialize(builder, url)
|
1344
|
-
super builder
|
1345
|
-
@builder.append " proxy /delete #{@builder.format url}"
|
1346
|
-
end
|
1347
|
-
def collection(team_project_collection_url)
|
1348
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1349
|
-
yield @builder if block_given?
|
1350
|
-
self
|
1351
|
-
end
|
1352
|
-
def login(username, password=nil)
|
1353
|
-
@builder.append " /login:#{@builder.format username}"
|
1354
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1355
|
-
yield @builder if block_given?
|
1356
|
-
self
|
1357
|
-
end
|
1358
|
-
end
|
1359
|
-
class ListProxyRecords < CommandBase
|
1360
|
-
def initialize(builder, url)
|
1361
|
-
super builder
|
1362
|
-
@builder.append " proxy /list #{@builder.format url, ' '}"
|
1363
|
-
end
|
1364
|
-
def collection(team_project_collection_url)
|
1365
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1366
|
-
yield @builder if block_given?
|
1367
|
-
self
|
1368
|
-
end
|
1369
|
-
def login(username, password=nil)
|
1370
|
-
@builder.append " /login:#{@builder.format username}"
|
1371
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1372
|
-
yield @builder if block_given?
|
1373
|
-
self
|
1374
|
-
end
|
1375
|
-
end
|
1376
|
-
class Rename < CommandBase
|
1377
|
-
def initialize(builder, old_item, new_item)
|
1378
|
-
super builder
|
1379
|
-
@builder.append " rename #{@builder.format old_item} #{@builder.format new_item}"
|
1380
|
-
end
|
1381
|
-
def lock(lock_type)
|
1382
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
1383
|
-
yield @builder if block_given?
|
1384
|
-
self
|
1385
|
-
end
|
1386
|
-
def login(username, password=nil)
|
1387
|
-
@builder.append " /login:#{@builder.format username}"
|
1388
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1389
|
-
yield @builder if block_given?
|
1390
|
-
self
|
1391
|
-
end
|
1392
|
-
end
|
1393
|
-
class Resolve < CommandBase
|
1394
|
-
def initialize(builder, item_spec=nil)
|
1395
|
-
super builder
|
1396
|
-
@builder.append ' resolve'
|
1397
|
-
@builder.append " #{@builder.format item_spec}" unless item_spec.nil?
|
1398
|
-
end
|
1399
|
-
def auto(resolution)
|
1400
|
-
@builder.append " /auto:#{@builder.format resolution}"
|
1401
|
-
yield @builder if block_given?
|
1402
|
-
self
|
1403
|
-
end
|
1404
|
-
def preview
|
1405
|
-
@builder.append ' /preview'
|
1406
|
-
yield @builder if block_given?
|
1407
|
-
self
|
1408
|
-
end
|
1409
|
-
def override_type(override_type)
|
1410
|
-
@builder.append " /overrideType:#{@builder.format override_type}"
|
1411
|
-
yield @builder if block_given?
|
1412
|
-
self
|
1413
|
-
end
|
1414
|
-
def convert_to_type(convert_type)
|
1415
|
-
@builder.append " /convertToType:#{@builder.format convert_type}"
|
1416
|
-
yield @builder if block_given?
|
1417
|
-
self
|
1418
|
-
end
|
1419
|
-
def recursive
|
1420
|
-
@builder.append ' /recursive'
|
1421
|
-
yield @builder if block_given?
|
1422
|
-
self
|
1423
|
-
end
|
1424
|
-
def new_name(path)
|
1425
|
-
@builder.append " /newName:#{@builder.format path}"
|
1426
|
-
yield @builder if block_given?
|
1427
|
-
self
|
1428
|
-
end
|
1429
|
-
def no_prompt
|
1430
|
-
@builder.append ' /noPrompt'
|
1431
|
-
yield @builder if block_given?
|
1432
|
-
self
|
1433
|
-
end
|
1434
|
-
def login(username, password=nil)
|
1435
|
-
@builder.append " /login:#{@builder.format username}"
|
1436
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1437
|
-
yield @builder if block_given?
|
1438
|
-
self
|
1439
|
-
end
|
1440
|
-
end
|
1441
|
-
class RollbackToVersion < CommandBase
|
1442
|
-
def initialize(builder, version_spec, item_spec)
|
1443
|
-
super builder
|
1444
|
-
@builder.append " rollback /toVersion:#{@builder.format version_spec} #{@builder.format item_spec}"
|
1445
|
-
end
|
1446
|
-
def recursive
|
1447
|
-
@builder.append ' /recursive'
|
1448
|
-
yield @builder if block_given?
|
1449
|
-
self
|
1450
|
-
end
|
1451
|
-
def lock(lock_type)
|
1452
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
1453
|
-
yield @builder if block_given?
|
1454
|
-
self
|
1455
|
-
end
|
1456
|
-
def version(version_spec)
|
1457
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
1458
|
-
yield @builder if block_given?
|
1459
|
-
self
|
1460
|
-
end
|
1461
|
-
def keep_merge_history
|
1462
|
-
@builder.append ' /keepMergeHistory'
|
1463
|
-
yield @builder if block_given?
|
1464
|
-
self
|
1465
|
-
end
|
1466
|
-
def login(username, password=nil)
|
1467
|
-
@builder.append " /login:#{@builder.format username}"
|
1468
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1469
|
-
yield @builder if block_given?
|
1470
|
-
self
|
1471
|
-
end
|
1472
|
-
def no_prompt
|
1473
|
-
@builder.append ' /noPrompt'
|
1474
|
-
yield @builder if block_given?
|
1475
|
-
self
|
1476
|
-
end
|
1477
|
-
end
|
1478
|
-
class RollbackChangeset < CommandBase
|
1479
|
-
def initialize(builder, changeset_from, changeset_to=nil, item_spec=nil)
|
1480
|
-
super builder
|
1481
|
-
@builder.append " rollback /changeset:#{@builder.format changeset_from}"
|
1482
|
-
@builder.append "~#{@builder.format changeset_to}" unless changeset_to.nil?
|
1483
|
-
@builder.append " #{@builder.format item_spec}" unless item_spec.nil?
|
1484
|
-
end
|
1485
|
-
def recursive
|
1486
|
-
@builder.append ' /recursive'
|
1487
|
-
yield @builder if block_given?
|
1488
|
-
self
|
1489
|
-
end
|
1490
|
-
def lock(lock_type)
|
1491
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
1492
|
-
yield @builder if block_given?
|
1493
|
-
self
|
1494
|
-
end
|
1495
|
-
def version(version_spec)
|
1496
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
1497
|
-
yield @builder if block_given?
|
1498
|
-
self
|
1499
|
-
end
|
1500
|
-
def keep_merge_history
|
1501
|
-
@builder.append ' /keepMergeHistory'
|
1502
|
-
yield @builder if block_given?
|
1503
|
-
self
|
1504
|
-
end
|
1505
|
-
def login(username, password=nil)
|
1506
|
-
@builder.append " /login:#{@builder.format username}"
|
1507
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1508
|
-
yield @builder if block_given?
|
1509
|
-
self
|
1510
|
-
end
|
1511
|
-
def no_prompt
|
1512
|
-
@builder.append ' /noPrompt'
|
1513
|
-
yield @builder if block_given?
|
1514
|
-
self
|
1515
|
-
end
|
1516
|
-
end
|
1517
|
-
class ReplaceShelveset < CommandBase
|
1518
|
-
def initialize(builder, shelveset_name)
|
1519
|
-
super builder
|
1520
|
-
@builder.append " shelve /replace #{@builder.format shelveset_name}"
|
1521
|
-
end
|
1522
|
-
def comment(comment)
|
1523
|
-
@builder.append " /comment:#{@builder.format comment}"
|
1524
|
-
yield @builder if block_given?
|
1525
|
-
self
|
1526
|
-
end
|
1527
|
-
def validate
|
1528
|
-
@builder.append ' /validate'
|
1529
|
-
yield @builder if block_given?
|
1530
|
-
self
|
1531
|
-
end
|
1532
|
-
def no_prompt
|
1533
|
-
@builder.append ' /noPrompt'
|
1534
|
-
yield @builder if block_given?
|
1535
|
-
self
|
1536
|
-
end
|
1537
|
-
def login(username, password=nil)
|
1538
|
-
@builder.append " /login:#{@builder.format username}"
|
1539
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1540
|
-
yield @builder if block_given?
|
1541
|
-
self
|
1542
|
-
end
|
1543
|
-
end
|
1544
|
-
class Shelve < CommandBase
|
1545
|
-
def initialize(builder, shelveset_name, item_spec)
|
1546
|
-
super builder
|
1547
|
-
@builder.append " shelve #{@builder.format shelveset_name} #{@builder.format item_spec}"
|
1548
|
-
end
|
1549
|
-
def move
|
1550
|
-
@builder.append ' /move'
|
1551
|
-
yield @builder if block_given?
|
1552
|
-
self
|
1553
|
-
end
|
1554
|
-
def replace
|
1555
|
-
@builder.append ' /replace'
|
1556
|
-
yield @builder if block_given?
|
1557
|
-
self
|
1558
|
-
end
|
1559
|
-
def comment(comment)
|
1560
|
-
@builder.append " /comment:#{@builder.format comment}"
|
1561
|
-
yield @builder if block_given?
|
1562
|
-
self
|
1563
|
-
end
|
1564
|
-
def recursive
|
1565
|
-
@builder.append ' /recursive'
|
1566
|
-
yield @builder if block_given?
|
1567
|
-
self
|
1568
|
-
end
|
1569
|
-
def validate
|
1570
|
-
@builder.append ' /validate'
|
1571
|
-
yield @builder if block_given?
|
1572
|
-
self
|
1573
|
-
end
|
1574
|
-
def no_prompt
|
1575
|
-
@builder.append ' /noPrompt'
|
1576
|
-
yield @builder if block_given?
|
1577
|
-
self
|
1578
|
-
end
|
1579
|
-
def login(username, password=nil)
|
1580
|
-
@builder.append " /login:#{@builder.format username}"
|
1581
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1582
|
-
yield @builder if block_given?
|
1583
|
-
self
|
1584
|
-
end
|
1585
|
-
end
|
1586
|
-
class DeleteShelveset < CommandBase
|
1587
|
-
def initialize(builder, shelveset_name, shelveset_owner=nil)
|
1588
|
-
super builder
|
1589
|
-
@builder.append " shelve /delete #{@builder.format shelveset_name}"
|
1590
|
-
@builder.append ";#{@builder.format shelveset_owner}" unless shelveset_owner.nil?
|
1591
|
-
end
|
1592
|
-
def login(username, password=nil)
|
1593
|
-
@builder.append " /login:#{@builder.format username}"
|
1594
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1595
|
-
yield @builder if block_given?
|
1596
|
-
self
|
1597
|
-
end
|
1598
|
-
def collection(team_project_collection_url)
|
1599
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1600
|
-
yield @builder if block_given?
|
1601
|
-
self
|
1602
|
-
end
|
1603
|
-
end
|
1604
|
-
class Shelvesets < CommandBase
|
1605
|
-
def initialize(builder, shelveset_name=nil)
|
1606
|
-
super builder
|
1607
|
-
@builder.append ' shelvesets'
|
1608
|
-
@builder.append " #{@builder.format shelveset_name}" unless shelveset_name.nil?
|
1609
|
-
end
|
1610
|
-
def owner(owner_name)
|
1611
|
-
@builder.append " /owner:#{@builder.format owner_name}"
|
1612
|
-
yield @builder if block_given?
|
1613
|
-
self
|
1614
|
-
end
|
1615
|
-
def format(format)
|
1616
|
-
@builder.append " /format:#{@builder.format format}"
|
1617
|
-
yield @builder if block_given?
|
1618
|
-
self
|
1619
|
-
end
|
1620
|
-
def collection(team_project_collection_url)
|
1621
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1622
|
-
yield @builder if block_given?
|
1623
|
-
self
|
1624
|
-
end
|
1625
|
-
def login(username, password=nil)
|
1626
|
-
@builder.append " /login:#{@builder.format username}"
|
1627
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1628
|
-
yield @builder if block_given?
|
1629
|
-
self
|
1630
|
-
end
|
1631
|
-
end
|
1632
|
-
class Status < CommandBase
|
1633
|
-
def initialize(builder, item_spec)
|
1634
|
-
super builder
|
1635
|
-
@builder.append " status #{@builder.format item_spec}"
|
1636
|
-
end
|
1637
|
-
def collection(team_project_collection_url)
|
1638
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1639
|
-
yield @builder if block_given?
|
1640
|
-
self
|
1641
|
-
end
|
1642
|
-
def login(username, password=nil)
|
1643
|
-
@builder.append " /login:#{@builder.format username}"
|
1644
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1645
|
-
yield @builder if block_given?
|
1646
|
-
self
|
1647
|
-
end
|
1648
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1649
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1650
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1651
|
-
yield @builder if block_given?
|
1652
|
-
self
|
1653
|
-
end
|
1654
|
-
def shelveset(shelveset_name, shelveset_owner=nil)
|
1655
|
-
@builder.append " /shelveset:#{@builder.format shelveset_name}"
|
1656
|
-
@builder.append ";#{@builder.format shelveset_owner}" unless shelveset_owner.nil?
|
1657
|
-
yield @builder if block_given?
|
1658
|
-
self
|
1659
|
-
end
|
1660
|
-
def format(format)
|
1661
|
-
@builder.append " /format:#{@builder.format format}"
|
1662
|
-
yield @builder if block_given?
|
1663
|
-
self
|
1664
|
-
end
|
1665
|
-
def recursive
|
1666
|
-
@builder.append ' /recursive'
|
1667
|
-
yield @builder if block_given?
|
1668
|
-
self
|
1669
|
-
end
|
1670
|
-
def user(user_name)
|
1671
|
-
@builder.append " /user:#{@builder.format user_name}"
|
1672
|
-
yield @builder if block_given?
|
1673
|
-
self
|
1674
|
-
end
|
1675
|
-
end
|
1676
|
-
class Undelete < CommandBase
|
1677
|
-
def initialize(builder, item_spec, deletion_id=nil)
|
1678
|
-
super builder
|
1679
|
-
@builder.append " undelete #{@builder.format item_spec}"
|
1680
|
-
@builder.append ";#{@builder.format deletion_id}" unless deletion_id.nil?
|
1681
|
-
end
|
1682
|
-
def no_get
|
1683
|
-
@builder.append ' /noGet'
|
1684
|
-
yield @builder if block_given?
|
1685
|
-
self
|
1686
|
-
end
|
1687
|
-
def lock(lock_type)
|
1688
|
-
@builder.append " /lock:#{@builder.format lock_type}"
|
1689
|
-
yield @builder if block_given?
|
1690
|
-
self
|
1691
|
-
end
|
1692
|
-
def recursive
|
1693
|
-
@builder.append ' /recursive'
|
1694
|
-
yield @builder if block_given?
|
1695
|
-
self
|
1696
|
-
end
|
1697
|
-
def login(username, password=nil)
|
1698
|
-
@builder.append " /login:#{@builder.format username}"
|
1699
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1700
|
-
yield @builder if block_given?
|
1701
|
-
self
|
1702
|
-
end
|
1703
|
-
end
|
1704
|
-
class Undo < CommandBase
|
1705
|
-
def initialize(builder, item_spec)
|
1706
|
-
super builder
|
1707
|
-
@builder.append " undo #{@builder.format item_spec}"
|
1708
|
-
end
|
1709
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1710
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1711
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1712
|
-
yield @builder if block_given?
|
1713
|
-
self
|
1714
|
-
end
|
1715
|
-
def recursive
|
1716
|
-
@builder.append ' /recursive'
|
1717
|
-
yield @builder if block_given?
|
1718
|
-
self
|
1719
|
-
end
|
1720
|
-
def no_prompt
|
1721
|
-
@builder.append ' /noPrompt'
|
1722
|
-
yield @builder if block_given?
|
1723
|
-
self
|
1724
|
-
end
|
1725
|
-
def login(username, password=nil)
|
1726
|
-
@builder.append " /login:#{@builder.format username}"
|
1727
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1728
|
-
yield @builder if block_given?
|
1729
|
-
self
|
1730
|
-
end
|
1731
|
-
def collection(team_project_collection_url)
|
1732
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1733
|
-
yield @builder if block_given?
|
1734
|
-
self
|
1735
|
-
end
|
1736
|
-
end
|
1737
|
-
class Unlabel < CommandBase
|
1738
|
-
def initialize(builder, label_name, item_spec)
|
1739
|
-
super builder
|
1740
|
-
@builder.append " unlabel #{@builder.format label_name} #{@builder.format item_spec}"
|
1741
|
-
end
|
1742
|
-
def collection(team_project_collection_url)
|
1743
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1744
|
-
yield @builder if block_given?
|
1745
|
-
self
|
1746
|
-
end
|
1747
|
-
def recursive
|
1748
|
-
@builder.append ' /recursive'
|
1749
|
-
yield @builder if block_given?
|
1750
|
-
self
|
1751
|
-
end
|
1752
|
-
def login(username, password=nil)
|
1753
|
-
@builder.append " /login:#{@builder.format username}"
|
1754
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1755
|
-
yield @builder if block_given?
|
1756
|
-
self
|
1757
|
-
end
|
1758
|
-
end
|
1759
|
-
class Unshelve < CommandBase
|
1760
|
-
def initialize(builder, shelveset_name=nil, username=nil, item_spec=nil)
|
1761
|
-
super builder
|
1762
|
-
@builder.append ' unshelve'
|
1763
|
-
@builder.append " #{@builder.format shelveset_name}" unless shelveset_name.nil?
|
1764
|
-
@builder.append ";#{@builder.format username}" unless username.nil?
|
1765
|
-
@builder.append " #{@builder.format item_spec}" unless item_spec.nil?
|
1766
|
-
end
|
1767
|
-
def move
|
1768
|
-
@builder.append ' /move'
|
1769
|
-
yield @builder if block_given?
|
1770
|
-
self
|
1771
|
-
end
|
1772
|
-
def recursive
|
1773
|
-
@builder.append ' /recursive'
|
1774
|
-
yield @builder if block_given?
|
1775
|
-
self
|
1776
|
-
end
|
1777
|
-
def no_prompt
|
1778
|
-
@builder.append ' /noPrompt'
|
1779
|
-
yield @builder if block_given?
|
1780
|
-
self
|
1781
|
-
end
|
1782
|
-
def login(username, password=nil)
|
1783
|
-
@builder.append " /login:#{@builder.format username}"
|
1784
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1785
|
-
yield @builder if block_given?
|
1786
|
-
self
|
1787
|
-
end
|
1788
|
-
end
|
1789
|
-
class View < CommandBase
|
1790
|
-
def initialize(builder, item_spec)
|
1791
|
-
super builder
|
1792
|
-
@builder.append " view #{@builder.format item_spec}"
|
1793
|
-
end
|
1794
|
-
def collection(team_project_collection_url)
|
1795
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1796
|
-
yield @builder if block_given?
|
1797
|
-
self
|
1798
|
-
end
|
1799
|
-
def console
|
1800
|
-
@builder.append ' /console'
|
1801
|
-
yield @builder if block_given?
|
1802
|
-
self
|
1803
|
-
end
|
1804
|
-
def recursive
|
1805
|
-
@builder.append ' /recursive'
|
1806
|
-
yield @builder if block_given?
|
1807
|
-
self
|
1808
|
-
end
|
1809
|
-
def output(local_file)
|
1810
|
-
@builder.append " /output:#{@builder.format local_file}"
|
1811
|
-
yield @builder if block_given?
|
1812
|
-
self
|
1813
|
-
end
|
1814
|
-
def shelveset(shelveset_name, shelveset_owner=nil)
|
1815
|
-
@builder.append " /shelveset:#{@builder.format shelveset_name}"
|
1816
|
-
@builder.append ";#{@builder.format shelveset_owner}" unless shelveset_owner.nil?
|
1817
|
-
yield @builder if block_given?
|
1818
|
-
self
|
1819
|
-
end
|
1820
|
-
def no_prompt
|
1821
|
-
@builder.append ' /noPrompt'
|
1822
|
-
yield @builder if block_given?
|
1823
|
-
self
|
1824
|
-
end
|
1825
|
-
def version(version_spec)
|
1826
|
-
@builder.append " /version:#{@builder.format version_spec}"
|
1827
|
-
yield @builder if block_given?
|
1828
|
-
self
|
1829
|
-
end
|
1830
|
-
def login(username, password=nil)
|
1831
|
-
@builder.append " /login:#{@builder.format username}"
|
1832
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1833
|
-
yield @builder if block_given?
|
1834
|
-
self
|
1835
|
-
end
|
1836
|
-
end
|
1837
|
-
class ShowLocalFolderMapping < CommandBase
|
1838
|
-
def initialize(builder, local_folder)
|
1839
|
-
super builder
|
1840
|
-
@builder.append " workfold #{@builder.format local_folder}"
|
1841
|
-
end
|
1842
|
-
def login(username, password=nil)
|
1843
|
-
@builder.append " /login:#{@builder.format username}"
|
1844
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1845
|
-
yield @builder if block_given?
|
1846
|
-
self
|
1847
|
-
end
|
1848
|
-
end
|
1849
|
-
class ShowWorkspaceMappings < CommandBase
|
1850
|
-
def initialize(builder, workspace_name)
|
1851
|
-
super builder
|
1852
|
-
@builder.append " workfold /workspace:#{@builder.format workspace_name}"
|
1853
|
-
end
|
1854
|
-
def login(username, password=nil)
|
1855
|
-
@builder.append " /login:#{@builder.format username}"
|
1856
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1857
|
-
yield @builder if block_given?
|
1858
|
-
self
|
1859
|
-
end
|
1860
|
-
end
|
1861
|
-
class ShowServerFolderMappings < CommandBase
|
1862
|
-
def initialize(builder, server_folder)
|
1863
|
-
super builder
|
1864
|
-
@builder.append " workfold #{@builder.format server_folder}"
|
1865
|
-
end
|
1866
|
-
def login(username, password=nil)
|
1867
|
-
@builder.append " /login:#{@builder.format username}"
|
1868
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1869
|
-
yield @builder if block_given?
|
1870
|
-
self
|
1871
|
-
end
|
1872
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1873
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1874
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1875
|
-
yield @builder if block_given?
|
1876
|
-
self
|
1877
|
-
end
|
1878
|
-
def collection(team_project_collection_url)
|
1879
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1880
|
-
yield @builder if block_given?
|
1881
|
-
self
|
1882
|
-
end
|
1883
|
-
end
|
1884
|
-
class MapFolder < CommandBase
|
1885
|
-
def initialize(builder, server_folder, local_folder)
|
1886
|
-
super builder
|
1887
|
-
@builder.append " workfold /map #{@builder.format server_folder} #{@builder.format local_folder}"
|
1888
|
-
end
|
1889
|
-
def login(username, password=nil)
|
1890
|
-
@builder.append " /login:#{@builder.format username}"
|
1891
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1892
|
-
yield @builder if block_given?
|
1893
|
-
self
|
1894
|
-
end
|
1895
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1896
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1897
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1898
|
-
yield @builder if block_given?
|
1899
|
-
self
|
1900
|
-
end
|
1901
|
-
def collection(team_project_collection_url)
|
1902
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1903
|
-
yield @builder if block_given?
|
1904
|
-
self
|
1905
|
-
end
|
1906
|
-
end
|
1907
|
-
class UnmapFolder < CommandBase
|
1908
|
-
def initialize(builder)
|
1909
|
-
super builder
|
1910
|
-
@builder.append ' workfold /unmap'
|
1911
|
-
end
|
1912
|
-
def login(username, password=nil)
|
1913
|
-
@builder.append " /login:#{@builder.format username}"
|
1914
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1915
|
-
yield @builder if block_given?
|
1916
|
-
self
|
1917
|
-
end
|
1918
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1919
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1920
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1921
|
-
yield @builder if block_given?
|
1922
|
-
self
|
1923
|
-
end
|
1924
|
-
def collection(team_project_collection_url)
|
1925
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1926
|
-
yield @builder if block_given?
|
1927
|
-
self
|
1928
|
-
end
|
1929
|
-
def recursive
|
1930
|
-
@builder.append ' /recursive'
|
1931
|
-
yield @builder if block_given?
|
1932
|
-
self
|
1933
|
-
end
|
1934
|
-
end
|
1935
|
-
class CloakFolder < CommandBase
|
1936
|
-
def initialize(builder, server_folder)
|
1937
|
-
super builder
|
1938
|
-
@builder.append " workfold /cloak #{@builder.format server_folder}"
|
1939
|
-
end
|
1940
|
-
def login(username, password=nil)
|
1941
|
-
@builder.append " /login:#{@builder.format username}"
|
1942
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1943
|
-
yield @builder if block_given?
|
1944
|
-
self
|
1945
|
-
end
|
1946
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1947
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1948
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1949
|
-
yield @builder if block_given?
|
1950
|
-
self
|
1951
|
-
end
|
1952
|
-
def collection(team_project_collection_url)
|
1953
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1954
|
-
yield @builder if block_given?
|
1955
|
-
self
|
1956
|
-
end
|
1957
|
-
end
|
1958
|
-
class DecloakFolder < CommandBase
|
1959
|
-
def initialize(builder, server_folder)
|
1960
|
-
super builder
|
1961
|
-
@builder.append " workfold /decloak #{@builder.format server_folder}"
|
1962
|
-
end
|
1963
|
-
def login(username, password=nil)
|
1964
|
-
@builder.append " /login:#{@builder.format username}"
|
1965
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
1966
|
-
yield @builder if block_given?
|
1967
|
-
self
|
1968
|
-
end
|
1969
|
-
def workspace(workspace_name, workspace_owner=nil)
|
1970
|
-
@builder.append " /workspace:#{@builder.format workspace_name}"
|
1971
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1972
|
-
yield @builder if block_given?
|
1973
|
-
self
|
1974
|
-
end
|
1975
|
-
def collection(team_project_collection_url)
|
1976
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
1977
|
-
yield @builder if block_given?
|
1978
|
-
self
|
1979
|
-
end
|
1980
|
-
end
|
1981
|
-
class CreateWorkspace < CommandBase
|
1982
|
-
def initialize(builder, workspace_name, workspace_owner=nil)
|
1983
|
-
super builder
|
1984
|
-
@builder.append " workspace /new #{@builder.format workspace_name}"
|
1985
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1986
|
-
end
|
1987
|
-
def no_prompt
|
1988
|
-
@builder.append ' /noPrompt'
|
1989
|
-
yield @builder if block_given?
|
1990
|
-
self
|
1991
|
-
end
|
1992
|
-
def template(workspace_name, workspace_owner=nil)
|
1993
|
-
@builder.append " /template:#{@builder.format workspace_name}"
|
1994
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
1995
|
-
yield @builder if block_given?
|
1996
|
-
self
|
1997
|
-
end
|
1998
|
-
def computer(computer_name)
|
1999
|
-
@builder.append " /computer:#{@builder.format computer_name}"
|
2000
|
-
yield @builder if block_given?
|
2001
|
-
self
|
2002
|
-
end
|
2003
|
-
def comment(comment)
|
2004
|
-
@builder.append " /comment:#{@builder.format comment}"
|
2005
|
-
yield @builder if block_given?
|
2006
|
-
self
|
2007
|
-
end
|
2008
|
-
def collection(team_project_collection_url)
|
2009
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
2010
|
-
yield @builder if block_given?
|
2011
|
-
self
|
2012
|
-
end
|
2013
|
-
def permission(permission)
|
2014
|
-
@builder.append " /permission:#{@builder.format permission}"
|
2015
|
-
yield @builder if block_given?
|
2016
|
-
self
|
2017
|
-
end
|
2018
|
-
def login(username, password=nil)
|
2019
|
-
@builder.append " /login:#{@builder.format username}"
|
2020
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
2021
|
-
yield @builder if block_given?
|
2022
|
-
self
|
2023
|
-
end
|
2024
|
-
end
|
2025
|
-
class DeleteWorkspace < CommandBase
|
2026
|
-
def initialize(builder, workspace_name, workspace_owner=nil)
|
2027
|
-
super builder
|
2028
|
-
@builder.append " workspace /delete #{@builder.format workspace_name}"
|
2029
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
2030
|
-
end
|
2031
|
-
def collection(team_project_collection_url)
|
2032
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
2033
|
-
yield @builder if block_given?
|
2034
|
-
self
|
2035
|
-
end
|
2036
|
-
def login(username, password=nil)
|
2037
|
-
@builder.append " /login:#{@builder.format username}"
|
2038
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
2039
|
-
yield @builder if block_given?
|
2040
|
-
self
|
2041
|
-
end
|
2042
|
-
end
|
2043
|
-
class ModifyWorkspace < CommandBase
|
2044
|
-
def initialize(builder, workspace_name=nil, workspace_owner=nil)
|
2045
|
-
super builder
|
2046
|
-
@builder.append ' workspace '
|
2047
|
-
@builder.append "#{@builder.format workspace_name}" unless workspace_name.nil?
|
2048
|
-
@builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil?
|
2049
|
-
end
|
2050
|
-
def computer(computer_name)
|
2051
|
-
@builder.append " /computer:#{@builder.format computer_name}"
|
2052
|
-
yield @builder if block_given?
|
2053
|
-
self
|
2054
|
-
end
|
2055
|
-
def comment(comment)
|
2056
|
-
@builder.append " /comment:#{@builder.format comment}"
|
2057
|
-
yield @builder if block_given?
|
2058
|
-
self
|
2059
|
-
end
|
2060
|
-
def collection(team_project_collection_url)
|
2061
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
2062
|
-
yield @builder if block_given?
|
2063
|
-
self
|
2064
|
-
end
|
2065
|
-
def permission(permission)
|
2066
|
-
@builder.append " /permission:#{@builder.format permission}"
|
2067
|
-
yield @builder if block_given?
|
2068
|
-
self
|
2069
|
-
end
|
2070
|
-
def login(username, password=nil)
|
2071
|
-
@builder.append " /login:#{@builder.format username}"
|
2072
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
2073
|
-
yield @builder if block_given?
|
2074
|
-
self
|
2075
|
-
end
|
2076
|
-
def new_name(workspace_name)
|
2077
|
-
@builder.append " /newName:#{@builder.format workspace_name}"
|
2078
|
-
yield @builder if block_given?
|
2079
|
-
self
|
2080
|
-
end
|
2081
|
-
def new_owner(owner_name)
|
2082
|
-
@builder.append " /newOwner:#{@builder.format owner_name}"
|
2083
|
-
yield @builder if block_given?
|
2084
|
-
self
|
2085
|
-
end
|
2086
|
-
end
|
2087
|
-
class Workspaces < CommandBase
|
2088
|
-
def initialize(builder, workspace_name=nil)
|
2089
|
-
super builder
|
2090
|
-
@builder.append ' workspaces'
|
2091
|
-
@builder.append " #{@builder.format workspace_name}" unless workspace_name.nil?
|
2092
|
-
end
|
2093
|
-
def owner(owner_name)
|
2094
|
-
@builder.append " /owner:#{@builder.format owner_name}"
|
2095
|
-
yield @builder if block_given?
|
2096
|
-
self
|
2097
|
-
end
|
2098
|
-
def computer(computer_name)
|
2099
|
-
@builder.append " /computer:#{@builder.format computer_name}"
|
2100
|
-
yield @builder if block_given?
|
2101
|
-
self
|
2102
|
-
end
|
2103
|
-
def collection(team_project_collection_url)
|
2104
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
2105
|
-
yield @builder if block_given?
|
2106
|
-
self
|
2107
|
-
end
|
2108
|
-
def format(format)
|
2109
|
-
@builder.append " /format:#{@builder.format format}"
|
2110
|
-
yield @builder if block_given?
|
2111
|
-
self
|
2112
|
-
end
|
2113
|
-
def update_user_name(old_user_name)
|
2114
|
-
@builder.append " /updateUserName:#{@builder.format old_user_name}"
|
2115
|
-
yield @builder if block_given?
|
2116
|
-
self
|
2117
|
-
end
|
2118
|
-
def update_computer_name(old_computer_name)
|
2119
|
-
@builder.append " /updateComputerName:#{@builder.format old_computer_name}"
|
2120
|
-
yield @builder if block_given?
|
2121
|
-
self
|
2122
|
-
end
|
2123
|
-
def login(username, password=nil)
|
2124
|
-
@builder.append " /login:#{@builder.format username}"
|
2125
|
-
@builder.append ",#{@builder.format password}" unless password.nil?
|
2126
|
-
yield @builder if block_given?
|
2127
|
-
self
|
2128
|
-
end
|
2129
|
-
end
|
2130
|
-
class RemoveWorkspace < CommandBase
|
2131
|
-
def initialize(builder, workspace_name)
|
2132
|
-
super builder
|
2133
|
-
@builder.append " workspaces /remove:#{@builder.format workspace_name, ','}"
|
2134
|
-
end
|
2135
|
-
def collection(team_project_collection_url)
|
2136
|
-
@builder.append " /collection:#{@builder.format team_project_collection_url}"
|
2137
|
-
yield @builder if block_given?
|
2138
|
-
self
|
2139
|
-
end
|
2140
|
-
end
|
2141
|
-
def tf
|
2142
|
-
builder = CommandBuilder.new COMMAND_NAME
|
2143
|
-
command = Tf.new builder
|
2144
|
-
yield builder if block_given?
|
2145
|
-
command
|
2146
|
-
end
|
2147
|
-
end
|
2148
|
-
end
|
2149
|
-
def tf_2010
|
2150
|
-
builder = CommandBuilder.new Tf::V2010::COMMAND_NAME
|
2151
|
-
command = Tf::V2010::Tf.new builder
|
2152
|
-
yield builder if block_given?
|
2153
|
-
command
|
2154
|
-
end
|
2155
|
-
end
|