fluent_command_builder 0.9.9 → 0.9.10

This diff has not been reviewed by any users.
Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +14 -0
  2. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +2612 -0
  3. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +2602 -0
  4. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +14 -0
  5. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +102 -0
  6. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +102 -0
  7. data/lib/fluent_command_builder/command_builders/bundle.rb +14 -0
  8. data/lib/fluent_command_builder/command_builders/bundle_11.rb +320 -0
  9. data/lib/fluent_command_builder/command_builders/bundle_12.rb +344 -0
  10. data/lib/fluent_command_builder/command_builders/cucumber.rb +14 -0
  11. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +177 -0
  12. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +182 -0
  13. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +14 -0
  14. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +207 -0
  15. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +207 -0
  16. data/lib/fluent_command_builder/command_builders/dotcover.rb +14 -0
  17. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +68 -0
  18. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +298 -0
  19. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +298 -0
  20. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +308 -0
  21. data/lib/fluent_command_builder/command_builders/dotcover_21.rb +308 -0
  22. data/lib/fluent_command_builder/command_builders/dotcover_22.rb +308 -0
  23. data/lib/fluent_command_builder/command_builders/fastlinkchecker.rb +14 -0
  24. data/lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb +262 -0
  25. data/lib/fluent_command_builder/command_builders/installutil.rb +14 -0
  26. data/lib/fluent_command_builder/command_builders/installutil_11.rb +63 -0
  27. data/lib/fluent_command_builder/command_builders/installutil_20.rb +68 -0
  28. data/lib/fluent_command_builder/command_builders/installutil_35.rb +68 -0
  29. data/lib/fluent_command_builder/command_builders/installutil_40.rb +74 -0
  30. data/lib/fluent_command_builder/command_builders/msbuild.rb +14 -0
  31. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +93 -0
  32. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +93 -0
  33. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +133 -0
  34. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +136 -0
  35. data/lib/fluent_command_builder/command_builders/msdeploy.rb +14 -0
  36. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +181 -0
  37. data/lib/fluent_command_builder/command_builders/mstest.rb +14 -0
  38. data/lib/fluent_command_builder/command_builders/mstest_100.rb +131 -0
  39. data/lib/fluent_command_builder/command_builders/mstest_80.rb +111 -0
  40. data/lib/fluent_command_builder/command_builders/mstest_90.rb +116 -0
  41. data/lib/fluent_command_builder/command_builders/netsh.rb +14 -0
  42. data/lib/fluent_command_builder/command_builders/netsh_61.rb +412 -0
  43. data/lib/fluent_command_builder/command_builders/nuget.rb +14 -0
  44. data/lib/fluent_command_builder/command_builders/nuget_20.rb +436 -0
  45. data/lib/fluent_command_builder/command_builders/nuget_21.rb +532 -0
  46. data/lib/fluent_command_builder/command_builders/nunit.rb +14 -0
  47. data/lib/fluent_command_builder/command_builders/nunit_25.rb +152 -0
  48. data/lib/fluent_command_builder/command_builders/nunit_26.rb +192 -0
  49. data/lib/fluent_command_builder/command_builders/rake.rb +14 -0
  50. data/lib/fluent_command_builder/command_builders/rake_09.rb +155 -0
  51. data/lib/fluent_command_builder/command_builders/rake_100.rb +193 -0
  52. data/lib/fluent_command_builder/command_builders/schtasks.rb +14 -0
  53. data/lib/fluent_command_builder/command_builders/schtasks_61.rb +352 -0
  54. data/lib/fluent_command_builder/command_builders/security_osx.rb +14 -0
  55. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +187 -0
  56. data/lib/fluent_command_builder/command_builders/security_osx_108.rb +187 -0
  57. data/lib/fluent_command_builder/command_builders/sevenzip.rb +14 -0
  58. data/lib/fluent_command_builder/command_builders/sevenzip_920.rb +522 -0
  59. data/lib/fluent_command_builder/command_builders/simian.rb +14 -0
  60. data/lib/fluent_command_builder/command_builders/simian_23.rb +146 -0
  61. data/lib/fluent_command_builder/command_builders/team_foundation.rb +14 -0
  62. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +2159 -0
  63. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +14 -0
  64. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +1884 -0
  65. data/lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb +2002 -0
  66. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +14 -0
  67. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +275 -0
  68. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +325 -0
  69. data/lib/fluent_command_builder/command_builders/xcodebuild_45.rb +330 -0
  70. metadata +82 -13
@@ -0,0 +1,14 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require 'getversion'
4
+ require_relative '../internal/underlying_builder'
5
+
6
+ module FluentCommandBuilder
7
+ module AppCfgPython
8
+ COMMAND_NAME = 'appcfg.py'
9
+ def self.version(path=nil)
10
+ executable = path ? File.join(path, COMMAND_NAME) : COMMAND_NAME
11
+ GetVersion[executable]
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,2612 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require_relative '../internal/command_base'
4
+ require_relative '../internal/command_builder_config'
5
+ require_relative '../internal/underlying_builder'
6
+
7
+ module FluentCommandBuilder
8
+ module AppCfgPython
9
+ module V16
10
+ VERSION = '1.6'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::AppCfgPython::COMMAND_NAME, VERSION
12
+ def configure_appcfg_python
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def appcfg_python
18
+ b = UnderlyingBuilder.new @@config
19
+ c = AppCfgPython.new(b)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class AppCfgPython < CommandBase
24
+ def initialize(underlying_builder)
25
+ super underlying_builder
26
+ end
27
+ def backends(directory)
28
+ Backends.new @b, directory
29
+ end
30
+ def create_bulkload_config(directory)
31
+ CreateBulkloadConfig.new @b, directory
32
+ end
33
+ def cron_info(directory)
34
+ CronInfo.new @b, directory
35
+ end
36
+ def download_app
37
+ DownloadApp.new @b
38
+ end
39
+ def download_data(directory)
40
+ DownloadData.new @b, directory
41
+ end
42
+ def help(action)
43
+ Help.new @b, action
44
+ end
45
+ def request_logs(directory, output_file)
46
+ RequestLogs.new @b, directory, output_file
47
+ end
48
+ def resource_limits_info(directory)
49
+ ResourceLimitsInfo.new @b, directory
50
+ end
51
+ def rollback(directory)
52
+ Rollback.new @b, directory
53
+ end
54
+ def set_default_version(directory)
55
+ SetDefaultVersion.new @b, directory
56
+ end
57
+ def update(directory)
58
+ Update.new @b, directory
59
+ end
60
+ def update_cron(directory)
61
+ UpdateCron.new @b, directory
62
+ end
63
+ def update_dos(directory)
64
+ UpdateDos.new @b, directory
65
+ end
66
+ def update_indexes(directory)
67
+ UpdateIndexes.new @b, directory
68
+ end
69
+ def update_queues(directory)
70
+ UpdateQueues.new @b, directory
71
+ end
72
+ def upload_data(directory)
73
+ UploadData.new @b, directory
74
+ end
75
+ def vacuum_indexes(directory)
76
+ VacuumIndexes.new @b, directory
77
+ end
78
+ end
79
+ class Backends < CommandBase
80
+ def initialize(underlying_builder, directory)
81
+ super underlying_builder
82
+ @b.append " backends #{@b.format directory}"
83
+ end
84
+ def configure(backend)
85
+ Configure.new @b, backend
86
+ end
87
+ def delete(backend)
88
+ Delete.new @b, backend
89
+ end
90
+ def list
91
+ List.new @b
92
+ end
93
+ def rollback(backend)
94
+ Rollback.new @b, backend
95
+ end
96
+ def start(backend)
97
+ Start.new @b, backend
98
+ end
99
+ def stop(backend)
100
+ Stop.new @b, backend
101
+ end
102
+ def update(backend)
103
+ Update.new @b, backend
104
+ end
105
+ end
106
+ class Configure < CommandBase
107
+ def initialize(underlying_builder, backend)
108
+ super underlying_builder
109
+ @b.append " configure #{@b.format backend}"
110
+ end
111
+ def help
112
+ @b.append ' --help'
113
+ yield @b if block_given?
114
+ self
115
+ end
116
+ def quiet
117
+ @b.append ' --quiet'
118
+ yield @b if block_given?
119
+ self
120
+ end
121
+ def verbose
122
+ @b.append ' --verbose'
123
+ yield @b if block_given?
124
+ self
125
+ end
126
+ def noisy
127
+ @b.append ' --noisy'
128
+ yield @b if block_given?
129
+ self
130
+ end
131
+ def server(server)
132
+ @b.append " --server=#{@b.format server}"
133
+ yield @b if block_given?
134
+ self
135
+ end
136
+ def insecure
137
+ @b.append ' --insecure'
138
+ yield @b if block_given?
139
+ self
140
+ end
141
+ def email(email)
142
+ @b.append " --email=#{@b.format email}"
143
+ yield @b if block_given?
144
+ self
145
+ end
146
+ def host(host)
147
+ @b.append " --host=#{@b.format host}"
148
+ yield @b if block_given?
149
+ self
150
+ end
151
+ def no_cookies
152
+ @b.append ' --no_cookies'
153
+ yield @b if block_given?
154
+ self
155
+ end
156
+ def skip_sdk_update_check
157
+ @b.append ' --skip_sdk_update_check'
158
+ yield @b if block_given?
159
+ self
160
+ end
161
+ def passin
162
+ @b.append ' --passin'
163
+ yield @b if block_given?
164
+ self
165
+ end
166
+ def application(app_id)
167
+ @b.append " --application=#{@b.format app_id}"
168
+ yield @b if block_given?
169
+ self
170
+ end
171
+ def version(version)
172
+ @b.append " --version=#{@b.format version}"
173
+ yield @b if block_given?
174
+ self
175
+ end
176
+ def runtime(runtime)
177
+ @b.append " --runtime=#{@b.format runtime}"
178
+ yield @b if block_given?
179
+ self
180
+ end
181
+ def allow_any_runtime
182
+ @b.append ' --allow_any_runtime'
183
+ yield @b if block_given?
184
+ self
185
+ end
186
+ def oauth2
187
+ @b.append ' --oauth2'
188
+ yield @b if block_given?
189
+ self
190
+ end
191
+ def oauth2_refresh_token(oauth2_refresh_token)
192
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
193
+ yield @b if block_given?
194
+ self
195
+ end
196
+ def noauth_local_webserver
197
+ @b.append ' --noauth_local_webserver'
198
+ yield @b if block_given?
199
+ self
200
+ end
201
+ end
202
+ class Delete < CommandBase
203
+ def initialize(underlying_builder, backend)
204
+ super underlying_builder
205
+ @b.append " delete #{@b.format backend}"
206
+ end
207
+ def help
208
+ @b.append ' --help'
209
+ yield @b if block_given?
210
+ self
211
+ end
212
+ def quiet
213
+ @b.append ' --quiet'
214
+ yield @b if block_given?
215
+ self
216
+ end
217
+ def verbose
218
+ @b.append ' --verbose'
219
+ yield @b if block_given?
220
+ self
221
+ end
222
+ def noisy
223
+ @b.append ' --noisy'
224
+ yield @b if block_given?
225
+ self
226
+ end
227
+ def server(server)
228
+ @b.append " --server=#{@b.format server}"
229
+ yield @b if block_given?
230
+ self
231
+ end
232
+ def insecure
233
+ @b.append ' --insecure'
234
+ yield @b if block_given?
235
+ self
236
+ end
237
+ def email(email)
238
+ @b.append " --email=#{@b.format email}"
239
+ yield @b if block_given?
240
+ self
241
+ end
242
+ def host(host)
243
+ @b.append " --host=#{@b.format host}"
244
+ yield @b if block_given?
245
+ self
246
+ end
247
+ def no_cookies
248
+ @b.append ' --no_cookies'
249
+ yield @b if block_given?
250
+ self
251
+ end
252
+ def skip_sdk_update_check
253
+ @b.append ' --skip_sdk_update_check'
254
+ yield @b if block_given?
255
+ self
256
+ end
257
+ def passin
258
+ @b.append ' --passin'
259
+ yield @b if block_given?
260
+ self
261
+ end
262
+ def application(app_id)
263
+ @b.append " --application=#{@b.format app_id}"
264
+ yield @b if block_given?
265
+ self
266
+ end
267
+ def version(version)
268
+ @b.append " --version=#{@b.format version}"
269
+ yield @b if block_given?
270
+ self
271
+ end
272
+ def runtime(runtime)
273
+ @b.append " --runtime=#{@b.format runtime}"
274
+ yield @b if block_given?
275
+ self
276
+ end
277
+ def allow_any_runtime
278
+ @b.append ' --allow_any_runtime'
279
+ yield @b if block_given?
280
+ self
281
+ end
282
+ def oauth2
283
+ @b.append ' --oauth2'
284
+ yield @b if block_given?
285
+ self
286
+ end
287
+ def oauth2_refresh_token(oauth2_refresh_token)
288
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
289
+ yield @b if block_given?
290
+ self
291
+ end
292
+ def noauth_local_webserver
293
+ @b.append ' --noauth_local_webserver'
294
+ yield @b if block_given?
295
+ self
296
+ end
297
+ end
298
+ class List < CommandBase
299
+ def initialize(underlying_builder)
300
+ super underlying_builder
301
+ @b.append ' list'
302
+ end
303
+ def help
304
+ @b.append ' --help'
305
+ yield @b if block_given?
306
+ self
307
+ end
308
+ def quiet
309
+ @b.append ' --quiet'
310
+ yield @b if block_given?
311
+ self
312
+ end
313
+ def verbose
314
+ @b.append ' --verbose'
315
+ yield @b if block_given?
316
+ self
317
+ end
318
+ def noisy
319
+ @b.append ' --noisy'
320
+ yield @b if block_given?
321
+ self
322
+ end
323
+ def server(server)
324
+ @b.append " --server=#{@b.format server}"
325
+ yield @b if block_given?
326
+ self
327
+ end
328
+ def insecure
329
+ @b.append ' --insecure'
330
+ yield @b if block_given?
331
+ self
332
+ end
333
+ def email(email)
334
+ @b.append " --email=#{@b.format email}"
335
+ yield @b if block_given?
336
+ self
337
+ end
338
+ def host(host)
339
+ @b.append " --host=#{@b.format host}"
340
+ yield @b if block_given?
341
+ self
342
+ end
343
+ def no_cookies
344
+ @b.append ' --no_cookies'
345
+ yield @b if block_given?
346
+ self
347
+ end
348
+ def skip_sdk_update_check
349
+ @b.append ' --skip_sdk_update_check'
350
+ yield @b if block_given?
351
+ self
352
+ end
353
+ def passin
354
+ @b.append ' --passin'
355
+ yield @b if block_given?
356
+ self
357
+ end
358
+ def application(app_id)
359
+ @b.append " --application=#{@b.format app_id}"
360
+ yield @b if block_given?
361
+ self
362
+ end
363
+ def version(version)
364
+ @b.append " --version=#{@b.format version}"
365
+ yield @b if block_given?
366
+ self
367
+ end
368
+ def runtime(runtime)
369
+ @b.append " --runtime=#{@b.format runtime}"
370
+ yield @b if block_given?
371
+ self
372
+ end
373
+ def allow_any_runtime
374
+ @b.append ' --allow_any_runtime'
375
+ yield @b if block_given?
376
+ self
377
+ end
378
+ def oauth2
379
+ @b.append ' --oauth2'
380
+ yield @b if block_given?
381
+ self
382
+ end
383
+ def oauth2_refresh_token(oauth2_refresh_token)
384
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
385
+ yield @b if block_given?
386
+ self
387
+ end
388
+ def noauth_local_webserver
389
+ @b.append ' --noauth_local_webserver'
390
+ yield @b if block_given?
391
+ self
392
+ end
393
+ end
394
+ class Rollback < CommandBase
395
+ def initialize(underlying_builder, backend)
396
+ super underlying_builder
397
+ @b.append " rollback #{@b.format backend}"
398
+ end
399
+ def help
400
+ @b.append ' --help'
401
+ yield @b if block_given?
402
+ self
403
+ end
404
+ def quiet
405
+ @b.append ' --quiet'
406
+ yield @b if block_given?
407
+ self
408
+ end
409
+ def verbose
410
+ @b.append ' --verbose'
411
+ yield @b if block_given?
412
+ self
413
+ end
414
+ def noisy
415
+ @b.append ' --noisy'
416
+ yield @b if block_given?
417
+ self
418
+ end
419
+ def server(server)
420
+ @b.append " --server=#{@b.format server}"
421
+ yield @b if block_given?
422
+ self
423
+ end
424
+ def insecure
425
+ @b.append ' --insecure'
426
+ yield @b if block_given?
427
+ self
428
+ end
429
+ def email(email)
430
+ @b.append " --email=#{@b.format email}"
431
+ yield @b if block_given?
432
+ self
433
+ end
434
+ def host(host)
435
+ @b.append " --host=#{@b.format host}"
436
+ yield @b if block_given?
437
+ self
438
+ end
439
+ def no_cookies
440
+ @b.append ' --no_cookies'
441
+ yield @b if block_given?
442
+ self
443
+ end
444
+ def skip_sdk_update_check
445
+ @b.append ' --skip_sdk_update_check'
446
+ yield @b if block_given?
447
+ self
448
+ end
449
+ def passin
450
+ @b.append ' --passin'
451
+ yield @b if block_given?
452
+ self
453
+ end
454
+ def application(app_id)
455
+ @b.append " --application=#{@b.format app_id}"
456
+ yield @b if block_given?
457
+ self
458
+ end
459
+ def version(version)
460
+ @b.append " --version=#{@b.format version}"
461
+ yield @b if block_given?
462
+ self
463
+ end
464
+ def runtime(runtime)
465
+ @b.append " --runtime=#{@b.format runtime}"
466
+ yield @b if block_given?
467
+ self
468
+ end
469
+ def allow_any_runtime
470
+ @b.append ' --allow_any_runtime'
471
+ yield @b if block_given?
472
+ self
473
+ end
474
+ def oauth2
475
+ @b.append ' --oauth2'
476
+ yield @b if block_given?
477
+ self
478
+ end
479
+ def oauth2_refresh_token(oauth2_refresh_token)
480
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
481
+ yield @b if block_given?
482
+ self
483
+ end
484
+ def noauth_local_webserver
485
+ @b.append ' --noauth_local_webserver'
486
+ yield @b if block_given?
487
+ self
488
+ end
489
+ end
490
+ class Start < CommandBase
491
+ def initialize(underlying_builder, backend)
492
+ super underlying_builder
493
+ @b.append " start #{@b.format backend}"
494
+ end
495
+ def help
496
+ @b.append ' --help'
497
+ yield @b if block_given?
498
+ self
499
+ end
500
+ def quiet
501
+ @b.append ' --quiet'
502
+ yield @b if block_given?
503
+ self
504
+ end
505
+ def verbose
506
+ @b.append ' --verbose'
507
+ yield @b if block_given?
508
+ self
509
+ end
510
+ def noisy
511
+ @b.append ' --noisy'
512
+ yield @b if block_given?
513
+ self
514
+ end
515
+ def server(server)
516
+ @b.append " --server=#{@b.format server}"
517
+ yield @b if block_given?
518
+ self
519
+ end
520
+ def insecure
521
+ @b.append ' --insecure'
522
+ yield @b if block_given?
523
+ self
524
+ end
525
+ def email(email)
526
+ @b.append " --email=#{@b.format email}"
527
+ yield @b if block_given?
528
+ self
529
+ end
530
+ def host(host)
531
+ @b.append " --host=#{@b.format host}"
532
+ yield @b if block_given?
533
+ self
534
+ end
535
+ def no_cookies
536
+ @b.append ' --no_cookies'
537
+ yield @b if block_given?
538
+ self
539
+ end
540
+ def skip_sdk_update_check
541
+ @b.append ' --skip_sdk_update_check'
542
+ yield @b if block_given?
543
+ self
544
+ end
545
+ def passin
546
+ @b.append ' --passin'
547
+ yield @b if block_given?
548
+ self
549
+ end
550
+ def application(app_id)
551
+ @b.append " --application=#{@b.format app_id}"
552
+ yield @b if block_given?
553
+ self
554
+ end
555
+ def version(version)
556
+ @b.append " --version=#{@b.format version}"
557
+ yield @b if block_given?
558
+ self
559
+ end
560
+ def runtime(runtime)
561
+ @b.append " --runtime=#{@b.format runtime}"
562
+ yield @b if block_given?
563
+ self
564
+ end
565
+ def allow_any_runtime
566
+ @b.append ' --allow_any_runtime'
567
+ yield @b if block_given?
568
+ self
569
+ end
570
+ def oauth2
571
+ @b.append ' --oauth2'
572
+ yield @b if block_given?
573
+ self
574
+ end
575
+ def oauth2_refresh_token(oauth2_refresh_token)
576
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
577
+ yield @b if block_given?
578
+ self
579
+ end
580
+ def noauth_local_webserver
581
+ @b.append ' --noauth_local_webserver'
582
+ yield @b if block_given?
583
+ self
584
+ end
585
+ end
586
+ class Stop < CommandBase
587
+ def initialize(underlying_builder, backend)
588
+ super underlying_builder
589
+ @b.append " stop #{@b.format backend}"
590
+ end
591
+ def help
592
+ @b.append ' --help'
593
+ yield @b if block_given?
594
+ self
595
+ end
596
+ def quiet
597
+ @b.append ' --quiet'
598
+ yield @b if block_given?
599
+ self
600
+ end
601
+ def verbose
602
+ @b.append ' --verbose'
603
+ yield @b if block_given?
604
+ self
605
+ end
606
+ def noisy
607
+ @b.append ' --noisy'
608
+ yield @b if block_given?
609
+ self
610
+ end
611
+ def server(server)
612
+ @b.append " --server=#{@b.format server}"
613
+ yield @b if block_given?
614
+ self
615
+ end
616
+ def insecure
617
+ @b.append ' --insecure'
618
+ yield @b if block_given?
619
+ self
620
+ end
621
+ def email(email)
622
+ @b.append " --email=#{@b.format email}"
623
+ yield @b if block_given?
624
+ self
625
+ end
626
+ def host(host)
627
+ @b.append " --host=#{@b.format host}"
628
+ yield @b if block_given?
629
+ self
630
+ end
631
+ def no_cookies
632
+ @b.append ' --no_cookies'
633
+ yield @b if block_given?
634
+ self
635
+ end
636
+ def skip_sdk_update_check
637
+ @b.append ' --skip_sdk_update_check'
638
+ yield @b if block_given?
639
+ self
640
+ end
641
+ def passin
642
+ @b.append ' --passin'
643
+ yield @b if block_given?
644
+ self
645
+ end
646
+ def application(app_id)
647
+ @b.append " --application=#{@b.format app_id}"
648
+ yield @b if block_given?
649
+ self
650
+ end
651
+ def version(version)
652
+ @b.append " --version=#{@b.format version}"
653
+ yield @b if block_given?
654
+ self
655
+ end
656
+ def runtime(runtime)
657
+ @b.append " --runtime=#{@b.format runtime}"
658
+ yield @b if block_given?
659
+ self
660
+ end
661
+ def allow_any_runtime
662
+ @b.append ' --allow_any_runtime'
663
+ yield @b if block_given?
664
+ self
665
+ end
666
+ def oauth2
667
+ @b.append ' --oauth2'
668
+ yield @b if block_given?
669
+ self
670
+ end
671
+ def oauth2_refresh_token(oauth2_refresh_token)
672
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
673
+ yield @b if block_given?
674
+ self
675
+ end
676
+ def noauth_local_webserver
677
+ @b.append ' --noauth_local_webserver'
678
+ yield @b if block_given?
679
+ self
680
+ end
681
+ end
682
+ class Update < CommandBase
683
+ def initialize(underlying_builder, backend)
684
+ super underlying_builder
685
+ @b.append " update #{@b.format backend}"
686
+ end
687
+ def help
688
+ @b.append ' --help'
689
+ yield @b if block_given?
690
+ self
691
+ end
692
+ def quiet
693
+ @b.append ' --quiet'
694
+ yield @b if block_given?
695
+ self
696
+ end
697
+ def verbose
698
+ @b.append ' --verbose'
699
+ yield @b if block_given?
700
+ self
701
+ end
702
+ def noisy
703
+ @b.append ' --noisy'
704
+ yield @b if block_given?
705
+ self
706
+ end
707
+ def server(server)
708
+ @b.append " --server=#{@b.format server}"
709
+ yield @b if block_given?
710
+ self
711
+ end
712
+ def insecure
713
+ @b.append ' --insecure'
714
+ yield @b if block_given?
715
+ self
716
+ end
717
+ def email(email)
718
+ @b.append " --email=#{@b.format email}"
719
+ yield @b if block_given?
720
+ self
721
+ end
722
+ def host(host)
723
+ @b.append " --host=#{@b.format host}"
724
+ yield @b if block_given?
725
+ self
726
+ end
727
+ def no_cookies
728
+ @b.append ' --no_cookies'
729
+ yield @b if block_given?
730
+ self
731
+ end
732
+ def skip_sdk_update_check
733
+ @b.append ' --skip_sdk_update_check'
734
+ yield @b if block_given?
735
+ self
736
+ end
737
+ def passin
738
+ @b.append ' --passin'
739
+ yield @b if block_given?
740
+ self
741
+ end
742
+ def application(app_id)
743
+ @b.append " --application=#{@b.format app_id}"
744
+ yield @b if block_given?
745
+ self
746
+ end
747
+ def version(version)
748
+ @b.append " --version=#{@b.format version}"
749
+ yield @b if block_given?
750
+ self
751
+ end
752
+ def runtime(runtime)
753
+ @b.append " --runtime=#{@b.format runtime}"
754
+ yield @b if block_given?
755
+ self
756
+ end
757
+ def allow_any_runtime
758
+ @b.append ' --allow_any_runtime'
759
+ yield @b if block_given?
760
+ self
761
+ end
762
+ def oauth2
763
+ @b.append ' --oauth2'
764
+ yield @b if block_given?
765
+ self
766
+ end
767
+ def oauth2_refresh_token(oauth2_refresh_token)
768
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
769
+ yield @b if block_given?
770
+ self
771
+ end
772
+ def noauth_local_webserver
773
+ @b.append ' --noauth_local_webserver'
774
+ yield @b if block_given?
775
+ self
776
+ end
777
+ def max_size(size)
778
+ @b.append " --max_size=#{@b.format size}"
779
+ yield @b if block_given?
780
+ self
781
+ end
782
+ def no_precompilation
783
+ @b.append ' --no_precompilation'
784
+ yield @b if block_given?
785
+ self
786
+ end
787
+ def backends
788
+ @b.append ' --backends'
789
+ yield @b if block_given?
790
+ self
791
+ end
792
+ end
793
+ class CreateBulkloadConfig < CommandBase
794
+ def initialize(underlying_builder, directory)
795
+ super underlying_builder
796
+ @b.append " create_bulkload_config #{@b.format directory}"
797
+ end
798
+ def help
799
+ @b.append ' --help'
800
+ yield @b if block_given?
801
+ self
802
+ end
803
+ def quiet
804
+ @b.append ' --quiet'
805
+ yield @b if block_given?
806
+ self
807
+ end
808
+ def verbose
809
+ @b.append ' --verbose'
810
+ yield @b if block_given?
811
+ self
812
+ end
813
+ def noisy
814
+ @b.append ' --noisy'
815
+ yield @b if block_given?
816
+ self
817
+ end
818
+ def server(server)
819
+ @b.append " --server=#{@b.format server}"
820
+ yield @b if block_given?
821
+ self
822
+ end
823
+ def insecure
824
+ @b.append ' --insecure'
825
+ yield @b if block_given?
826
+ self
827
+ end
828
+ def email(email)
829
+ @b.append " --email=#{@b.format email}"
830
+ yield @b if block_given?
831
+ self
832
+ end
833
+ def host(host)
834
+ @b.append " --host=#{@b.format host}"
835
+ yield @b if block_given?
836
+ self
837
+ end
838
+ def no_cookies
839
+ @b.append ' --no_cookies'
840
+ yield @b if block_given?
841
+ self
842
+ end
843
+ def skip_sdk_update_check
844
+ @b.append ' --skip_sdk_update_check'
845
+ yield @b if block_given?
846
+ self
847
+ end
848
+ def passin
849
+ @b.append ' --passin'
850
+ yield @b if block_given?
851
+ self
852
+ end
853
+ def application(app_id)
854
+ @b.append " --application=#{@b.format app_id}"
855
+ yield @b if block_given?
856
+ self
857
+ end
858
+ def version(version)
859
+ @b.append " --version=#{@b.format version}"
860
+ yield @b if block_given?
861
+ self
862
+ end
863
+ def runtime(runtime)
864
+ @b.append " --runtime=#{@b.format runtime}"
865
+ yield @b if block_given?
866
+ self
867
+ end
868
+ def allow_any_runtime
869
+ @b.append ' --allow_any_runtime'
870
+ yield @b if block_given?
871
+ self
872
+ end
873
+ def oauth2
874
+ @b.append ' --oauth2'
875
+ yield @b if block_given?
876
+ self
877
+ end
878
+ def oauth2_refresh_token(oauth2_refresh_token)
879
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
880
+ yield @b if block_given?
881
+ self
882
+ end
883
+ def noauth_local_webserver
884
+ @b.append ' --noauth_local_webserver'
885
+ yield @b if block_given?
886
+ self
887
+ end
888
+ def url(url)
889
+ @b.append " --url=#{@b.format url}"
890
+ yield @b if block_given?
891
+ self
892
+ end
893
+ def batch_size(batch_size)
894
+ @b.append " --batch_size=#{@b.format batch_size}"
895
+ yield @b if block_given?
896
+ self
897
+ end
898
+ def bandwidth_limit(bandwidth_limit)
899
+ @b.append " --bandwidth_limit=#{@b.format bandwidth_limit}"
900
+ yield @b if block_given?
901
+ self
902
+ end
903
+ def rps_limit(rps_limit)
904
+ @b.append " --rps_limit=#{@b.format rps_limit}"
905
+ yield @b if block_given?
906
+ self
907
+ end
908
+ def http_limit(http_limit)
909
+ @b.append " --http_limit=#{@b.format http_limit}"
910
+ yield @b if block_given?
911
+ self
912
+ end
913
+ def db_filename(db_filename)
914
+ @b.append " --db_filename=#{@b.format db_filename}"
915
+ yield @b if block_given?
916
+ self
917
+ end
918
+ def auth_domain(auth_domain)
919
+ @b.append " --auth_domain=#{@b.format auth_domain}"
920
+ yield @b if block_given?
921
+ self
922
+ end
923
+ def log_file(log_file)
924
+ @b.append " --log_file=#{@b.format log_file}"
925
+ yield @b if block_given?
926
+ self
927
+ end
928
+ def dry_run
929
+ @b.append ' --dry_run'
930
+ yield @b if block_given?
931
+ self
932
+ end
933
+ def namespace(namespace)
934
+ @b.append " --namespace=#{@b.format namespace}"
935
+ yield @b if block_given?
936
+ self
937
+ end
938
+ def num_threads(num_threads)
939
+ @b.append " --num_threads=#{@b.format num_threads}"
940
+ yield @b if block_given?
941
+ self
942
+ end
943
+ def filename(filename)
944
+ @b.append " --filename=#{@b.format filename}"
945
+ yield @b if block_given?
946
+ self
947
+ end
948
+ end
949
+ class CronInfo < CommandBase
950
+ def initialize(underlying_builder, directory)
951
+ super underlying_builder
952
+ @b.append " cron_info #{@b.format directory}"
953
+ end
954
+ def help
955
+ @b.append ' --help'
956
+ yield @b if block_given?
957
+ self
958
+ end
959
+ def quiet
960
+ @b.append ' --quiet'
961
+ yield @b if block_given?
962
+ self
963
+ end
964
+ def verbose
965
+ @b.append ' --verbose'
966
+ yield @b if block_given?
967
+ self
968
+ end
969
+ def noisy
970
+ @b.append ' --noisy'
971
+ yield @b if block_given?
972
+ self
973
+ end
974
+ def server(server)
975
+ @b.append " --server=#{@b.format server}"
976
+ yield @b if block_given?
977
+ self
978
+ end
979
+ def insecure
980
+ @b.append ' --insecure'
981
+ yield @b if block_given?
982
+ self
983
+ end
984
+ def email(email)
985
+ @b.append " --email=#{@b.format email}"
986
+ yield @b if block_given?
987
+ self
988
+ end
989
+ def host(host)
990
+ @b.append " --host=#{@b.format host}"
991
+ yield @b if block_given?
992
+ self
993
+ end
994
+ def no_cookies
995
+ @b.append ' --no_cookies'
996
+ yield @b if block_given?
997
+ self
998
+ end
999
+ def skip_sdk_update_check
1000
+ @b.append ' --skip_sdk_update_check'
1001
+ yield @b if block_given?
1002
+ self
1003
+ end
1004
+ def passin
1005
+ @b.append ' --passin'
1006
+ yield @b if block_given?
1007
+ self
1008
+ end
1009
+ def application(app_id)
1010
+ @b.append " --application=#{@b.format app_id}"
1011
+ yield @b if block_given?
1012
+ self
1013
+ end
1014
+ def version(version)
1015
+ @b.append " --version=#{@b.format version}"
1016
+ yield @b if block_given?
1017
+ self
1018
+ end
1019
+ def runtime(runtime)
1020
+ @b.append " --runtime=#{@b.format runtime}"
1021
+ yield @b if block_given?
1022
+ self
1023
+ end
1024
+ def allow_any_runtime
1025
+ @b.append ' --allow_any_runtime'
1026
+ yield @b if block_given?
1027
+ self
1028
+ end
1029
+ def oauth2
1030
+ @b.append ' --oauth2'
1031
+ yield @b if block_given?
1032
+ self
1033
+ end
1034
+ def oauth2_refresh_token(oauth2_refresh_token)
1035
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
1036
+ yield @b if block_given?
1037
+ self
1038
+ end
1039
+ def noauth_local_webserver
1040
+ @b.append ' --noauth_local_webserver'
1041
+ yield @b if block_given?
1042
+ self
1043
+ end
1044
+ def num_runs(num_runs)
1045
+ @b.append " --num_runs=#{@b.format num_runs}"
1046
+ yield @b if block_given?
1047
+ self
1048
+ end
1049
+ end
1050
+ class DownloadApp < CommandBase
1051
+ def initialize(underlying_builder)
1052
+ super underlying_builder
1053
+ @b.append ' download_app'
1054
+ end
1055
+ def help
1056
+ @b.append ' --help'
1057
+ yield @b if block_given?
1058
+ self
1059
+ end
1060
+ def quiet
1061
+ @b.append ' --quiet'
1062
+ yield @b if block_given?
1063
+ self
1064
+ end
1065
+ def verbose
1066
+ @b.append ' --verbose'
1067
+ yield @b if block_given?
1068
+ self
1069
+ end
1070
+ def noisy
1071
+ @b.append ' --noisy'
1072
+ yield @b if block_given?
1073
+ self
1074
+ end
1075
+ def server(server)
1076
+ @b.append " --server=#{@b.format server}"
1077
+ yield @b if block_given?
1078
+ self
1079
+ end
1080
+ def insecure
1081
+ @b.append ' --insecure'
1082
+ yield @b if block_given?
1083
+ self
1084
+ end
1085
+ def email(email)
1086
+ @b.append " --email=#{@b.format email}"
1087
+ yield @b if block_given?
1088
+ self
1089
+ end
1090
+ def host(host)
1091
+ @b.append " --host=#{@b.format host}"
1092
+ yield @b if block_given?
1093
+ self
1094
+ end
1095
+ def no_cookies
1096
+ @b.append ' --no_cookies'
1097
+ yield @b if block_given?
1098
+ self
1099
+ end
1100
+ def skip_sdk_update_check
1101
+ @b.append ' --skip_sdk_update_check'
1102
+ yield @b if block_given?
1103
+ self
1104
+ end
1105
+ def passin
1106
+ @b.append ' --passin'
1107
+ yield @b if block_given?
1108
+ self
1109
+ end
1110
+ def application(app_id)
1111
+ @b.append " --application=#{@b.format app_id}"
1112
+ yield @b if block_given?
1113
+ self
1114
+ end
1115
+ def version(version)
1116
+ @b.append " --version=#{@b.format version}"
1117
+ yield @b if block_given?
1118
+ self
1119
+ end
1120
+ def runtime(runtime)
1121
+ @b.append " --runtime=#{@b.format runtime}"
1122
+ yield @b if block_given?
1123
+ self
1124
+ end
1125
+ def allow_any_runtime
1126
+ @b.append ' --allow_any_runtime'
1127
+ yield @b if block_given?
1128
+ self
1129
+ end
1130
+ def oauth2
1131
+ @b.append ' --oauth2'
1132
+ yield @b if block_given?
1133
+ self
1134
+ end
1135
+ def oauth2_refresh_token(oauth2_refresh_token)
1136
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
1137
+ yield @b if block_given?
1138
+ self
1139
+ end
1140
+ def noauth_local_webserver
1141
+ @b.append ' --noauth_local_webserver'
1142
+ yield @b if block_given?
1143
+ self
1144
+ end
1145
+ end
1146
+ class DownloadData < CommandBase
1147
+ def initialize(underlying_builder, directory)
1148
+ super underlying_builder
1149
+ @b.append " download_data #{@b.format directory}"
1150
+ end
1151
+ def help
1152
+ @b.append ' --help'
1153
+ yield @b if block_given?
1154
+ self
1155
+ end
1156
+ def quiet
1157
+ @b.append ' --quiet'
1158
+ yield @b if block_given?
1159
+ self
1160
+ end
1161
+ def verbose
1162
+ @b.append ' --verbose'
1163
+ yield @b if block_given?
1164
+ self
1165
+ end
1166
+ def noisy
1167
+ @b.append ' --noisy'
1168
+ yield @b if block_given?
1169
+ self
1170
+ end
1171
+ def server(server)
1172
+ @b.append " --server=#{@b.format server}"
1173
+ yield @b if block_given?
1174
+ self
1175
+ end
1176
+ def insecure
1177
+ @b.append ' --insecure'
1178
+ yield @b if block_given?
1179
+ self
1180
+ end
1181
+ def email(email)
1182
+ @b.append " --email=#{@b.format email}"
1183
+ yield @b if block_given?
1184
+ self
1185
+ end
1186
+ def host(host)
1187
+ @b.append " --host=#{@b.format host}"
1188
+ yield @b if block_given?
1189
+ self
1190
+ end
1191
+ def no_cookies
1192
+ @b.append ' --no_cookies'
1193
+ yield @b if block_given?
1194
+ self
1195
+ end
1196
+ def skip_sdk_update_check
1197
+ @b.append ' --skip_sdk_update_check'
1198
+ yield @b if block_given?
1199
+ self
1200
+ end
1201
+ def passin
1202
+ @b.append ' --passin'
1203
+ yield @b if block_given?
1204
+ self
1205
+ end
1206
+ def application(app_id)
1207
+ @b.append " --application=#{@b.format app_id}"
1208
+ yield @b if block_given?
1209
+ self
1210
+ end
1211
+ def version(version)
1212
+ @b.append " --version=#{@b.format version}"
1213
+ yield @b if block_given?
1214
+ self
1215
+ end
1216
+ def runtime(runtime)
1217
+ @b.append " --runtime=#{@b.format runtime}"
1218
+ yield @b if block_given?
1219
+ self
1220
+ end
1221
+ def allow_any_runtime
1222
+ @b.append ' --allow_any_runtime'
1223
+ yield @b if block_given?
1224
+ self
1225
+ end
1226
+ def oauth2
1227
+ @b.append ' --oauth2'
1228
+ yield @b if block_given?
1229
+ self
1230
+ end
1231
+ def oauth2_refresh_token(oauth2_refresh_token)
1232
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
1233
+ yield @b if block_given?
1234
+ self
1235
+ end
1236
+ def noauth_local_webserver
1237
+ @b.append ' --noauth_local_webserver'
1238
+ yield @b if block_given?
1239
+ self
1240
+ end
1241
+ def url(url)
1242
+ @b.append " --url=#{@b.format url}"
1243
+ yield @b if block_given?
1244
+ self
1245
+ end
1246
+ def batch_size(batch_size)
1247
+ @b.append " --batch_size=#{@b.format batch_size}"
1248
+ yield @b if block_given?
1249
+ self
1250
+ end
1251
+ def bandwidth_limit(bandwidth_limit)
1252
+ @b.append " --bandwidth_limit=#{@b.format bandwidth_limit}"
1253
+ yield @b if block_given?
1254
+ self
1255
+ end
1256
+ def rps_limit(rps_limit)
1257
+ @b.append " --rps_limit=#{@b.format rps_limit}"
1258
+ yield @b if block_given?
1259
+ self
1260
+ end
1261
+ def http_limit(http_limit)
1262
+ @b.append " --http_limit=#{@b.format http_limit}"
1263
+ yield @b if block_given?
1264
+ self
1265
+ end
1266
+ def db_filename(db_filename)
1267
+ @b.append " --db_filename=#{@b.format db_filename}"
1268
+ yield @b if block_given?
1269
+ self
1270
+ end
1271
+ def auth_domain(auth_domain)
1272
+ @b.append " --auth_domain=#{@b.format auth_domain}"
1273
+ yield @b if block_given?
1274
+ self
1275
+ end
1276
+ def log_file(log_file)
1277
+ @b.append " --log_file=#{@b.format log_file}"
1278
+ yield @b if block_given?
1279
+ self
1280
+ end
1281
+ def dry_run
1282
+ @b.append ' --dry_run'
1283
+ yield @b if block_given?
1284
+ self
1285
+ end
1286
+ def namespace(namespace)
1287
+ @b.append " --namespace=#{@b.format namespace}"
1288
+ yield @b if block_given?
1289
+ self
1290
+ end
1291
+ def num_threads(num_threads)
1292
+ @b.append " --num_threads=#{@b.format num_threads}"
1293
+ yield @b if block_given?
1294
+ self
1295
+ end
1296
+ def filename(filename)
1297
+ @b.append " --filename=#{@b.format filename}"
1298
+ yield @b if block_given?
1299
+ self
1300
+ end
1301
+ def kind(kind)
1302
+ @b.append " --kind=#{@b.format kind}"
1303
+ yield @b if block_given?
1304
+ self
1305
+ end
1306
+ def exporter_opts(exporter_opts)
1307
+ @b.append " --exporter_opts=#{@b.format exporter_opts}"
1308
+ yield @b if block_given?
1309
+ self
1310
+ end
1311
+ def result_db_filename(result_db_filename)
1312
+ @b.append " --result_db_filename=#{@b.format result_db_filename}"
1313
+ yield @b if block_given?
1314
+ self
1315
+ end
1316
+ def config_file(config_file)
1317
+ @b.append " --config_file=#{@b.format config_file}"
1318
+ yield @b if block_given?
1319
+ self
1320
+ end
1321
+ end
1322
+ class Help < CommandBase
1323
+ def initialize(underlying_builder, action)
1324
+ super underlying_builder
1325
+ @b.append " help #{@b.format action}"
1326
+ end
1327
+ def help
1328
+ @b.append ' --help'
1329
+ yield @b if block_given?
1330
+ self
1331
+ end
1332
+ def quiet
1333
+ @b.append ' --quiet'
1334
+ yield @b if block_given?
1335
+ self
1336
+ end
1337
+ def verbose
1338
+ @b.append ' --verbose'
1339
+ yield @b if block_given?
1340
+ self
1341
+ end
1342
+ def noisy
1343
+ @b.append ' --noisy'
1344
+ yield @b if block_given?
1345
+ self
1346
+ end
1347
+ def server(server)
1348
+ @b.append " --server=#{@b.format server}"
1349
+ yield @b if block_given?
1350
+ self
1351
+ end
1352
+ def insecure
1353
+ @b.append ' --insecure'
1354
+ yield @b if block_given?
1355
+ self
1356
+ end
1357
+ def email(email)
1358
+ @b.append " --email=#{@b.format email}"
1359
+ yield @b if block_given?
1360
+ self
1361
+ end
1362
+ def host(host)
1363
+ @b.append " --host=#{@b.format host}"
1364
+ yield @b if block_given?
1365
+ self
1366
+ end
1367
+ def no_cookies
1368
+ @b.append ' --no_cookies'
1369
+ yield @b if block_given?
1370
+ self
1371
+ end
1372
+ def skip_sdk_update_check
1373
+ @b.append ' --skip_sdk_update_check'
1374
+ yield @b if block_given?
1375
+ self
1376
+ end
1377
+ def passin
1378
+ @b.append ' --passin'
1379
+ yield @b if block_given?
1380
+ self
1381
+ end
1382
+ def application(app_id)
1383
+ @b.append " --application=#{@b.format app_id}"
1384
+ yield @b if block_given?
1385
+ self
1386
+ end
1387
+ def version(version)
1388
+ @b.append " --version=#{@b.format version}"
1389
+ yield @b if block_given?
1390
+ self
1391
+ end
1392
+ def runtime(runtime)
1393
+ @b.append " --runtime=#{@b.format runtime}"
1394
+ yield @b if block_given?
1395
+ self
1396
+ end
1397
+ def allow_any_runtime
1398
+ @b.append ' --allow_any_runtime'
1399
+ yield @b if block_given?
1400
+ self
1401
+ end
1402
+ def oauth2
1403
+ @b.append ' --oauth2'
1404
+ yield @b if block_given?
1405
+ self
1406
+ end
1407
+ def oauth2_refresh_token(oauth2_refresh_token)
1408
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
1409
+ yield @b if block_given?
1410
+ self
1411
+ end
1412
+ def noauth_local_webserver
1413
+ @b.append ' --noauth_local_webserver'
1414
+ yield @b if block_given?
1415
+ self
1416
+ end
1417
+ end
1418
+ class RequestLogs < CommandBase
1419
+ def initialize(underlying_builder, directory, output_file)
1420
+ super underlying_builder
1421
+ @b.append " request_logs #{@b.format directory} #{@b.format output_file}"
1422
+ end
1423
+ def help
1424
+ @b.append ' --help'
1425
+ yield @b if block_given?
1426
+ self
1427
+ end
1428
+ def quiet
1429
+ @b.append ' --quiet'
1430
+ yield @b if block_given?
1431
+ self
1432
+ end
1433
+ def verbose
1434
+ @b.append ' --verbose'
1435
+ yield @b if block_given?
1436
+ self
1437
+ end
1438
+ def noisy
1439
+ @b.append ' --noisy'
1440
+ yield @b if block_given?
1441
+ self
1442
+ end
1443
+ def server(server)
1444
+ @b.append " --server=#{@b.format server}"
1445
+ yield @b if block_given?
1446
+ self
1447
+ end
1448
+ def insecure
1449
+ @b.append ' --insecure'
1450
+ yield @b if block_given?
1451
+ self
1452
+ end
1453
+ def email(email)
1454
+ @b.append " --email=#{@b.format email}"
1455
+ yield @b if block_given?
1456
+ self
1457
+ end
1458
+ def host(host)
1459
+ @b.append " --host=#{@b.format host}"
1460
+ yield @b if block_given?
1461
+ self
1462
+ end
1463
+ def no_cookies
1464
+ @b.append ' --no_cookies'
1465
+ yield @b if block_given?
1466
+ self
1467
+ end
1468
+ def skip_sdk_update_check
1469
+ @b.append ' --skip_sdk_update_check'
1470
+ yield @b if block_given?
1471
+ self
1472
+ end
1473
+ def passin
1474
+ @b.append ' --passin'
1475
+ yield @b if block_given?
1476
+ self
1477
+ end
1478
+ def application(app_id)
1479
+ @b.append " --application=#{@b.format app_id}"
1480
+ yield @b if block_given?
1481
+ self
1482
+ end
1483
+ def version(version)
1484
+ @b.append " --version=#{@b.format version}"
1485
+ yield @b if block_given?
1486
+ self
1487
+ end
1488
+ def runtime(runtime)
1489
+ @b.append " --runtime=#{@b.format runtime}"
1490
+ yield @b if block_given?
1491
+ self
1492
+ end
1493
+ def allow_any_runtime
1494
+ @b.append ' --allow_any_runtime'
1495
+ yield @b if block_given?
1496
+ self
1497
+ end
1498
+ def oauth2
1499
+ @b.append ' --oauth2'
1500
+ yield @b if block_given?
1501
+ self
1502
+ end
1503
+ def oauth2_refresh_token(oauth2_refresh_token)
1504
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
1505
+ yield @b if block_given?
1506
+ self
1507
+ end
1508
+ def noauth_local_webserver
1509
+ @b.append ' --noauth_local_webserver'
1510
+ yield @b if block_given?
1511
+ self
1512
+ end
1513
+ def num_days(num_days)
1514
+ @b.append " --num_days=#{@b.format num_days}"
1515
+ yield @b if block_given?
1516
+ self
1517
+ end
1518
+ def append
1519
+ @b.append ' --append'
1520
+ yield @b if block_given?
1521
+ self
1522
+ end
1523
+ def severity(severity)
1524
+ @b.append " --severity=#{@b.format severity}"
1525
+ yield @b if block_given?
1526
+ self
1527
+ end
1528
+ def vhost(vhost)
1529
+ @b.append " --vhost=#{@b.format vhost}"
1530
+ yield @b if block_given?
1531
+ self
1532
+ end
1533
+ def include_vhost
1534
+ @b.append ' --include_vhost'
1535
+ yield @b if block_given?
1536
+ self
1537
+ end
1538
+ def include_all
1539
+ @b.append ' --include_all'
1540
+ yield @b if block_given?
1541
+ self
1542
+ end
1543
+ def end_date(end_date)
1544
+ @b.append " --end_date=#{@b.format end_date}"
1545
+ yield @b if block_given?
1546
+ self
1547
+ end
1548
+ end
1549
+ class ResourceLimitsInfo < CommandBase
1550
+ def initialize(underlying_builder, directory)
1551
+ super underlying_builder
1552
+ @b.append " resource_limits_info #{@b.format directory}"
1553
+ end
1554
+ def help
1555
+ @b.append ' --help'
1556
+ yield @b if block_given?
1557
+ self
1558
+ end
1559
+ def quiet
1560
+ @b.append ' --quiet'
1561
+ yield @b if block_given?
1562
+ self
1563
+ end
1564
+ def verbose
1565
+ @b.append ' --verbose'
1566
+ yield @b if block_given?
1567
+ self
1568
+ end
1569
+ def noisy
1570
+ @b.append ' --noisy'
1571
+ yield @b if block_given?
1572
+ self
1573
+ end
1574
+ def server(server)
1575
+ @b.append " --server=#{@b.format server}"
1576
+ yield @b if block_given?
1577
+ self
1578
+ end
1579
+ def insecure
1580
+ @b.append ' --insecure'
1581
+ yield @b if block_given?
1582
+ self
1583
+ end
1584
+ def email(email)
1585
+ @b.append " --email=#{@b.format email}"
1586
+ yield @b if block_given?
1587
+ self
1588
+ end
1589
+ def host(host)
1590
+ @b.append " --host=#{@b.format host}"
1591
+ yield @b if block_given?
1592
+ self
1593
+ end
1594
+ def no_cookies
1595
+ @b.append ' --no_cookies'
1596
+ yield @b if block_given?
1597
+ self
1598
+ end
1599
+ def skip_sdk_update_check
1600
+ @b.append ' --skip_sdk_update_check'
1601
+ yield @b if block_given?
1602
+ self
1603
+ end
1604
+ def passin
1605
+ @b.append ' --passin'
1606
+ yield @b if block_given?
1607
+ self
1608
+ end
1609
+ def application(app_id)
1610
+ @b.append " --application=#{@b.format app_id}"
1611
+ yield @b if block_given?
1612
+ self
1613
+ end
1614
+ def version(version)
1615
+ @b.append " --version=#{@b.format version}"
1616
+ yield @b if block_given?
1617
+ self
1618
+ end
1619
+ def runtime(runtime)
1620
+ @b.append " --runtime=#{@b.format runtime}"
1621
+ yield @b if block_given?
1622
+ self
1623
+ end
1624
+ def allow_any_runtime
1625
+ @b.append ' --allow_any_runtime'
1626
+ yield @b if block_given?
1627
+ self
1628
+ end
1629
+ def oauth2
1630
+ @b.append ' --oauth2'
1631
+ yield @b if block_given?
1632
+ self
1633
+ end
1634
+ def oauth2_refresh_token(oauth2_refresh_token)
1635
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
1636
+ yield @b if block_given?
1637
+ self
1638
+ end
1639
+ def noauth_local_webserver
1640
+ @b.append ' --noauth_local_webserver'
1641
+ yield @b if block_given?
1642
+ self
1643
+ end
1644
+ end
1645
+ class Rollback < CommandBase
1646
+ def initialize(underlying_builder, directory)
1647
+ super underlying_builder
1648
+ @b.append " rollback #{@b.format directory}"
1649
+ end
1650
+ def help
1651
+ @b.append ' --help'
1652
+ yield @b if block_given?
1653
+ self
1654
+ end
1655
+ def quiet
1656
+ @b.append ' --quiet'
1657
+ yield @b if block_given?
1658
+ self
1659
+ end
1660
+ def verbose
1661
+ @b.append ' --verbose'
1662
+ yield @b if block_given?
1663
+ self
1664
+ end
1665
+ def noisy
1666
+ @b.append ' --noisy'
1667
+ yield @b if block_given?
1668
+ self
1669
+ end
1670
+ def server(server)
1671
+ @b.append " --server=#{@b.format server}"
1672
+ yield @b if block_given?
1673
+ self
1674
+ end
1675
+ def insecure
1676
+ @b.append ' --insecure'
1677
+ yield @b if block_given?
1678
+ self
1679
+ end
1680
+ def email(email)
1681
+ @b.append " --email=#{@b.format email}"
1682
+ yield @b if block_given?
1683
+ self
1684
+ end
1685
+ def host(host)
1686
+ @b.append " --host=#{@b.format host}"
1687
+ yield @b if block_given?
1688
+ self
1689
+ end
1690
+ def no_cookies
1691
+ @b.append ' --no_cookies'
1692
+ yield @b if block_given?
1693
+ self
1694
+ end
1695
+ def skip_sdk_update_check
1696
+ @b.append ' --skip_sdk_update_check'
1697
+ yield @b if block_given?
1698
+ self
1699
+ end
1700
+ def passin
1701
+ @b.append ' --passin'
1702
+ yield @b if block_given?
1703
+ self
1704
+ end
1705
+ def application(app_id)
1706
+ @b.append " --application=#{@b.format app_id}"
1707
+ yield @b if block_given?
1708
+ self
1709
+ end
1710
+ def version(version)
1711
+ @b.append " --version=#{@b.format version}"
1712
+ yield @b if block_given?
1713
+ self
1714
+ end
1715
+ def runtime(runtime)
1716
+ @b.append " --runtime=#{@b.format runtime}"
1717
+ yield @b if block_given?
1718
+ self
1719
+ end
1720
+ def allow_any_runtime
1721
+ @b.append ' --allow_any_runtime'
1722
+ yield @b if block_given?
1723
+ self
1724
+ end
1725
+ def oauth2
1726
+ @b.append ' --oauth2'
1727
+ yield @b if block_given?
1728
+ self
1729
+ end
1730
+ def oauth2_refresh_token(oauth2_refresh_token)
1731
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
1732
+ yield @b if block_given?
1733
+ self
1734
+ end
1735
+ def noauth_local_webserver
1736
+ @b.append ' --noauth_local_webserver'
1737
+ yield @b if block_given?
1738
+ self
1739
+ end
1740
+ end
1741
+ class SetDefaultVersion < CommandBase
1742
+ def initialize(underlying_builder, directory)
1743
+ super underlying_builder
1744
+ @b.append " set_default_version #{@b.format directory}"
1745
+ end
1746
+ def help
1747
+ @b.append ' --help'
1748
+ yield @b if block_given?
1749
+ self
1750
+ end
1751
+ def quiet
1752
+ @b.append ' --quiet'
1753
+ yield @b if block_given?
1754
+ self
1755
+ end
1756
+ def verbose
1757
+ @b.append ' --verbose'
1758
+ yield @b if block_given?
1759
+ self
1760
+ end
1761
+ def noisy
1762
+ @b.append ' --noisy'
1763
+ yield @b if block_given?
1764
+ self
1765
+ end
1766
+ def server(server)
1767
+ @b.append " --server=#{@b.format server}"
1768
+ yield @b if block_given?
1769
+ self
1770
+ end
1771
+ def insecure
1772
+ @b.append ' --insecure'
1773
+ yield @b if block_given?
1774
+ self
1775
+ end
1776
+ def email(email)
1777
+ @b.append " --email=#{@b.format email}"
1778
+ yield @b if block_given?
1779
+ self
1780
+ end
1781
+ def host(host)
1782
+ @b.append " --host=#{@b.format host}"
1783
+ yield @b if block_given?
1784
+ self
1785
+ end
1786
+ def no_cookies
1787
+ @b.append ' --no_cookies'
1788
+ yield @b if block_given?
1789
+ self
1790
+ end
1791
+ def skip_sdk_update_check
1792
+ @b.append ' --skip_sdk_update_check'
1793
+ yield @b if block_given?
1794
+ self
1795
+ end
1796
+ def passin
1797
+ @b.append ' --passin'
1798
+ yield @b if block_given?
1799
+ self
1800
+ end
1801
+ def application(app_id)
1802
+ @b.append " --application=#{@b.format app_id}"
1803
+ yield @b if block_given?
1804
+ self
1805
+ end
1806
+ def version(version)
1807
+ @b.append " --version=#{@b.format version}"
1808
+ yield @b if block_given?
1809
+ self
1810
+ end
1811
+ def runtime(runtime)
1812
+ @b.append " --runtime=#{@b.format runtime}"
1813
+ yield @b if block_given?
1814
+ self
1815
+ end
1816
+ def allow_any_runtime
1817
+ @b.append ' --allow_any_runtime'
1818
+ yield @b if block_given?
1819
+ self
1820
+ end
1821
+ def oauth2
1822
+ @b.append ' --oauth2'
1823
+ yield @b if block_given?
1824
+ self
1825
+ end
1826
+ def oauth2_refresh_token(oauth2_refresh_token)
1827
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
1828
+ yield @b if block_given?
1829
+ self
1830
+ end
1831
+ def noauth_local_webserver
1832
+ @b.append ' --noauth_local_webserver'
1833
+ yield @b if block_given?
1834
+ self
1835
+ end
1836
+ end
1837
+ class Update < CommandBase
1838
+ def initialize(underlying_builder, directory)
1839
+ super underlying_builder
1840
+ @b.append " update #{@b.format directory}"
1841
+ end
1842
+ def help
1843
+ @b.append ' --help'
1844
+ yield @b if block_given?
1845
+ self
1846
+ end
1847
+ def quiet
1848
+ @b.append ' --quiet'
1849
+ yield @b if block_given?
1850
+ self
1851
+ end
1852
+ def verbose
1853
+ @b.append ' --verbose'
1854
+ yield @b if block_given?
1855
+ self
1856
+ end
1857
+ def noisy
1858
+ @b.append ' --noisy'
1859
+ yield @b if block_given?
1860
+ self
1861
+ end
1862
+ def server(server)
1863
+ @b.append " --server=#{@b.format server}"
1864
+ yield @b if block_given?
1865
+ self
1866
+ end
1867
+ def insecure
1868
+ @b.append ' --insecure'
1869
+ yield @b if block_given?
1870
+ self
1871
+ end
1872
+ def email(email)
1873
+ @b.append " --email=#{@b.format email}"
1874
+ yield @b if block_given?
1875
+ self
1876
+ end
1877
+ def host(host)
1878
+ @b.append " --host=#{@b.format host}"
1879
+ yield @b if block_given?
1880
+ self
1881
+ end
1882
+ def no_cookies
1883
+ @b.append ' --no_cookies'
1884
+ yield @b if block_given?
1885
+ self
1886
+ end
1887
+ def skip_sdk_update_check
1888
+ @b.append ' --skip_sdk_update_check'
1889
+ yield @b if block_given?
1890
+ self
1891
+ end
1892
+ def passin
1893
+ @b.append ' --passin'
1894
+ yield @b if block_given?
1895
+ self
1896
+ end
1897
+ def application(app_id)
1898
+ @b.append " --application=#{@b.format app_id}"
1899
+ yield @b if block_given?
1900
+ self
1901
+ end
1902
+ def version(version)
1903
+ @b.append " --version=#{@b.format version}"
1904
+ yield @b if block_given?
1905
+ self
1906
+ end
1907
+ def runtime(runtime)
1908
+ @b.append " --runtime=#{@b.format runtime}"
1909
+ yield @b if block_given?
1910
+ self
1911
+ end
1912
+ def allow_any_runtime
1913
+ @b.append ' --allow_any_runtime'
1914
+ yield @b if block_given?
1915
+ self
1916
+ end
1917
+ def oauth2
1918
+ @b.append ' --oauth2'
1919
+ yield @b if block_given?
1920
+ self
1921
+ end
1922
+ def oauth2_refresh_token(oauth2_refresh_token)
1923
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
1924
+ yield @b if block_given?
1925
+ self
1926
+ end
1927
+ def noauth_local_webserver
1928
+ @b.append ' --noauth_local_webserver'
1929
+ yield @b if block_given?
1930
+ self
1931
+ end
1932
+ def max_size(size)
1933
+ @b.append " --max_size=#{@b.format size}"
1934
+ yield @b if block_given?
1935
+ self
1936
+ end
1937
+ def no_precompilation
1938
+ @b.append ' --no_precompilation'
1939
+ yield @b if block_given?
1940
+ self
1941
+ end
1942
+ def backends
1943
+ @b.append ' --backends'
1944
+ yield @b if block_given?
1945
+ self
1946
+ end
1947
+ end
1948
+ class UpdateCron < CommandBase
1949
+ def initialize(underlying_builder, directory)
1950
+ super underlying_builder
1951
+ @b.append " update_cron #{@b.format directory}"
1952
+ end
1953
+ def help
1954
+ @b.append ' --help'
1955
+ yield @b if block_given?
1956
+ self
1957
+ end
1958
+ def quiet
1959
+ @b.append ' --quiet'
1960
+ yield @b if block_given?
1961
+ self
1962
+ end
1963
+ def verbose
1964
+ @b.append ' --verbose'
1965
+ yield @b if block_given?
1966
+ self
1967
+ end
1968
+ def noisy
1969
+ @b.append ' --noisy'
1970
+ yield @b if block_given?
1971
+ self
1972
+ end
1973
+ def server(server)
1974
+ @b.append " --server=#{@b.format server}"
1975
+ yield @b if block_given?
1976
+ self
1977
+ end
1978
+ def insecure
1979
+ @b.append ' --insecure'
1980
+ yield @b if block_given?
1981
+ self
1982
+ end
1983
+ def email(email)
1984
+ @b.append " --email=#{@b.format email}"
1985
+ yield @b if block_given?
1986
+ self
1987
+ end
1988
+ def host(host)
1989
+ @b.append " --host=#{@b.format host}"
1990
+ yield @b if block_given?
1991
+ self
1992
+ end
1993
+ def no_cookies
1994
+ @b.append ' --no_cookies'
1995
+ yield @b if block_given?
1996
+ self
1997
+ end
1998
+ def skip_sdk_update_check
1999
+ @b.append ' --skip_sdk_update_check'
2000
+ yield @b if block_given?
2001
+ self
2002
+ end
2003
+ def passin
2004
+ @b.append ' --passin'
2005
+ yield @b if block_given?
2006
+ self
2007
+ end
2008
+ def application(app_id)
2009
+ @b.append " --application=#{@b.format app_id}"
2010
+ yield @b if block_given?
2011
+ self
2012
+ end
2013
+ def version(version)
2014
+ @b.append " --version=#{@b.format version}"
2015
+ yield @b if block_given?
2016
+ self
2017
+ end
2018
+ def runtime(runtime)
2019
+ @b.append " --runtime=#{@b.format runtime}"
2020
+ yield @b if block_given?
2021
+ self
2022
+ end
2023
+ def allow_any_runtime
2024
+ @b.append ' --allow_any_runtime'
2025
+ yield @b if block_given?
2026
+ self
2027
+ end
2028
+ def oauth2
2029
+ @b.append ' --oauth2'
2030
+ yield @b if block_given?
2031
+ self
2032
+ end
2033
+ def oauth2_refresh_token(oauth2_refresh_token)
2034
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
2035
+ yield @b if block_given?
2036
+ self
2037
+ end
2038
+ def noauth_local_webserver
2039
+ @b.append ' --noauth_local_webserver'
2040
+ yield @b if block_given?
2041
+ self
2042
+ end
2043
+ end
2044
+ class UpdateDos < CommandBase
2045
+ def initialize(underlying_builder, directory)
2046
+ super underlying_builder
2047
+ @b.append " update_dos #{@b.format directory}"
2048
+ end
2049
+ def help
2050
+ @b.append ' --help'
2051
+ yield @b if block_given?
2052
+ self
2053
+ end
2054
+ def quiet
2055
+ @b.append ' --quiet'
2056
+ yield @b if block_given?
2057
+ self
2058
+ end
2059
+ def verbose
2060
+ @b.append ' --verbose'
2061
+ yield @b if block_given?
2062
+ self
2063
+ end
2064
+ def noisy
2065
+ @b.append ' --noisy'
2066
+ yield @b if block_given?
2067
+ self
2068
+ end
2069
+ def server(server)
2070
+ @b.append " --server=#{@b.format server}"
2071
+ yield @b if block_given?
2072
+ self
2073
+ end
2074
+ def insecure
2075
+ @b.append ' --insecure'
2076
+ yield @b if block_given?
2077
+ self
2078
+ end
2079
+ def email(email)
2080
+ @b.append " --email=#{@b.format email}"
2081
+ yield @b if block_given?
2082
+ self
2083
+ end
2084
+ def host(host)
2085
+ @b.append " --host=#{@b.format host}"
2086
+ yield @b if block_given?
2087
+ self
2088
+ end
2089
+ def no_cookies
2090
+ @b.append ' --no_cookies'
2091
+ yield @b if block_given?
2092
+ self
2093
+ end
2094
+ def skip_sdk_update_check
2095
+ @b.append ' --skip_sdk_update_check'
2096
+ yield @b if block_given?
2097
+ self
2098
+ end
2099
+ def passin
2100
+ @b.append ' --passin'
2101
+ yield @b if block_given?
2102
+ self
2103
+ end
2104
+ def application(app_id)
2105
+ @b.append " --application=#{@b.format app_id}"
2106
+ yield @b if block_given?
2107
+ self
2108
+ end
2109
+ def version(version)
2110
+ @b.append " --version=#{@b.format version}"
2111
+ yield @b if block_given?
2112
+ self
2113
+ end
2114
+ def runtime(runtime)
2115
+ @b.append " --runtime=#{@b.format runtime}"
2116
+ yield @b if block_given?
2117
+ self
2118
+ end
2119
+ def allow_any_runtime
2120
+ @b.append ' --allow_any_runtime'
2121
+ yield @b if block_given?
2122
+ self
2123
+ end
2124
+ def oauth2
2125
+ @b.append ' --oauth2'
2126
+ yield @b if block_given?
2127
+ self
2128
+ end
2129
+ def oauth2_refresh_token(oauth2_refresh_token)
2130
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
2131
+ yield @b if block_given?
2132
+ self
2133
+ end
2134
+ def noauth_local_webserver
2135
+ @b.append ' --noauth_local_webserver'
2136
+ yield @b if block_given?
2137
+ self
2138
+ end
2139
+ end
2140
+ class UpdateIndexes < CommandBase
2141
+ def initialize(underlying_builder, directory)
2142
+ super underlying_builder
2143
+ @b.append " update_indexes #{@b.format directory}"
2144
+ end
2145
+ def help
2146
+ @b.append ' --help'
2147
+ yield @b if block_given?
2148
+ self
2149
+ end
2150
+ def quiet
2151
+ @b.append ' --quiet'
2152
+ yield @b if block_given?
2153
+ self
2154
+ end
2155
+ def verbose
2156
+ @b.append ' --verbose'
2157
+ yield @b if block_given?
2158
+ self
2159
+ end
2160
+ def noisy
2161
+ @b.append ' --noisy'
2162
+ yield @b if block_given?
2163
+ self
2164
+ end
2165
+ def server(server)
2166
+ @b.append " --server=#{@b.format server}"
2167
+ yield @b if block_given?
2168
+ self
2169
+ end
2170
+ def insecure
2171
+ @b.append ' --insecure'
2172
+ yield @b if block_given?
2173
+ self
2174
+ end
2175
+ def email(email)
2176
+ @b.append " --email=#{@b.format email}"
2177
+ yield @b if block_given?
2178
+ self
2179
+ end
2180
+ def host(host)
2181
+ @b.append " --host=#{@b.format host}"
2182
+ yield @b if block_given?
2183
+ self
2184
+ end
2185
+ def no_cookies
2186
+ @b.append ' --no_cookies'
2187
+ yield @b if block_given?
2188
+ self
2189
+ end
2190
+ def skip_sdk_update_check
2191
+ @b.append ' --skip_sdk_update_check'
2192
+ yield @b if block_given?
2193
+ self
2194
+ end
2195
+ def passin
2196
+ @b.append ' --passin'
2197
+ yield @b if block_given?
2198
+ self
2199
+ end
2200
+ def application(app_id)
2201
+ @b.append " --application=#{@b.format app_id}"
2202
+ yield @b if block_given?
2203
+ self
2204
+ end
2205
+ def version(version)
2206
+ @b.append " --version=#{@b.format version}"
2207
+ yield @b if block_given?
2208
+ self
2209
+ end
2210
+ def runtime(runtime)
2211
+ @b.append " --runtime=#{@b.format runtime}"
2212
+ yield @b if block_given?
2213
+ self
2214
+ end
2215
+ def allow_any_runtime
2216
+ @b.append ' --allow_any_runtime'
2217
+ yield @b if block_given?
2218
+ self
2219
+ end
2220
+ def oauth2
2221
+ @b.append ' --oauth2'
2222
+ yield @b if block_given?
2223
+ self
2224
+ end
2225
+ def oauth2_refresh_token(oauth2_refresh_token)
2226
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
2227
+ yield @b if block_given?
2228
+ self
2229
+ end
2230
+ def noauth_local_webserver
2231
+ @b.append ' --noauth_local_webserver'
2232
+ yield @b if block_given?
2233
+ self
2234
+ end
2235
+ end
2236
+ class UpdateQueues < CommandBase
2237
+ def initialize(underlying_builder, directory)
2238
+ super underlying_builder
2239
+ @b.append " update_queues #{@b.format directory}"
2240
+ end
2241
+ def help
2242
+ @b.append ' --help'
2243
+ yield @b if block_given?
2244
+ self
2245
+ end
2246
+ def quiet
2247
+ @b.append ' --quiet'
2248
+ yield @b if block_given?
2249
+ self
2250
+ end
2251
+ def verbose
2252
+ @b.append ' --verbose'
2253
+ yield @b if block_given?
2254
+ self
2255
+ end
2256
+ def noisy
2257
+ @b.append ' --noisy'
2258
+ yield @b if block_given?
2259
+ self
2260
+ end
2261
+ def server(server)
2262
+ @b.append " --server=#{@b.format server}"
2263
+ yield @b if block_given?
2264
+ self
2265
+ end
2266
+ def insecure
2267
+ @b.append ' --insecure'
2268
+ yield @b if block_given?
2269
+ self
2270
+ end
2271
+ def email(email)
2272
+ @b.append " --email=#{@b.format email}"
2273
+ yield @b if block_given?
2274
+ self
2275
+ end
2276
+ def host(host)
2277
+ @b.append " --host=#{@b.format host}"
2278
+ yield @b if block_given?
2279
+ self
2280
+ end
2281
+ def no_cookies
2282
+ @b.append ' --no_cookies'
2283
+ yield @b if block_given?
2284
+ self
2285
+ end
2286
+ def skip_sdk_update_check
2287
+ @b.append ' --skip_sdk_update_check'
2288
+ yield @b if block_given?
2289
+ self
2290
+ end
2291
+ def passin
2292
+ @b.append ' --passin'
2293
+ yield @b if block_given?
2294
+ self
2295
+ end
2296
+ def application(app_id)
2297
+ @b.append " --application=#{@b.format app_id}"
2298
+ yield @b if block_given?
2299
+ self
2300
+ end
2301
+ def version(version)
2302
+ @b.append " --version=#{@b.format version}"
2303
+ yield @b if block_given?
2304
+ self
2305
+ end
2306
+ def runtime(runtime)
2307
+ @b.append " --runtime=#{@b.format runtime}"
2308
+ yield @b if block_given?
2309
+ self
2310
+ end
2311
+ def allow_any_runtime
2312
+ @b.append ' --allow_any_runtime'
2313
+ yield @b if block_given?
2314
+ self
2315
+ end
2316
+ def oauth2
2317
+ @b.append ' --oauth2'
2318
+ yield @b if block_given?
2319
+ self
2320
+ end
2321
+ def oauth2_refresh_token(oauth2_refresh_token)
2322
+ @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
2323
+ yield @b if block_given?
2324
+ self
2325
+ end
2326
+ def noauth_local_webserver
2327
+ @b.append ' --noauth_local_webserver'
2328
+ yield @b if block_given?
2329
+ self
2330
+ end
2331
+ end
2332
+ class UploadData < CommandBase
2333
+ def initialize(underlying_builder, directory)
2334
+ super underlying_builder
2335
+ @b.append " upload_data #{@b.format directory}"
2336
+ end
2337
+ def help
2338
+ @b.append ' --help'
2339
+ yield @b if block_given?
2340
+ self
2341
+ end
2342
+ def quiet
2343
+ @b.append ' --quiet'
2344
+ yield @b if block_given?
2345
+ self
2346
+ end
2347
+ def verbose
2348
+ @b.append ' --verbose'
2349
+ yield @b if block_given?
2350
+ self
2351
+ end
2352
+ def noisy
2353
+ @b.append ' --noisy'
2354
+ yield @b if block_given?
2355
+ self
2356
+ end
2357
+ def server(server)
2358
+ @b.append " --server=#{@b.format server}"