fluent_command_builder 0.1.0 → 0.1.1

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