fluent_command_builder 0.9.9 → 0.9.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,193 @@
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 Rake
9
+ module V100
10
+ VERSION = '10.0'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::Rake::COMMAND_NAME, VERSION
12
+ def configure_rake
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def rake(task=nil)
18
+ b = UnderlyingBuilder.new @@config
19
+ c = Rake.new(b, task)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class Rake < CommandBase
24
+ def initialize(underlying_builder, task=nil)
25
+ super underlying_builder
26
+ @b.append " #{@b.format task, ' '}" unless task.nil?
27
+ end
28
+ def all
29
+ @b.append ' --all'
30
+ yield @b if block_given?
31
+ self
32
+ end
33
+ def backtrace(out=nil)
34
+ @b.append ' --backtrace'
35
+ @b.append "=#{@b.format out}" unless out.nil?
36
+ yield @b if block_given?
37
+ self
38
+ end
39
+ def classic_namespace
40
+ @b.append ' --classic-namespace'
41
+ yield @b if block_given?
42
+ self
43
+ end
44
+ def comments
45
+ @b.append ' --comments'
46
+ yield @b if block_given?
47
+ self
48
+ end
49
+ def describe(pattern)
50
+ @b.append " --describe #{@b.format pattern}"
51
+ yield @b if block_given?
52
+ self
53
+ end
54
+ def dry_run
55
+ @b.append ' --dry-run'
56
+ yield @b if block_given?
57
+ self
58
+ end
59
+ def execute(code)
60
+ @b.append " --execute #{@b.format code}"
61
+ yield @b if block_given?
62
+ self
63
+ end
64
+ def execute_continue(code)
65
+ @b.append " --execute-continue #{@b.format code}"
66
+ yield @b if block_given?
67
+ self
68
+ end
69
+ def execute_print(code)
70
+ @b.append " --execute-print #{@b.format code}"
71
+ yield @b if block_given?
72
+ self
73
+ end
74
+ def help
75
+ @b.append ' --help'
76
+ yield @b if block_given?
77
+ self
78
+ end
79
+ def jobs(number=nil)
80
+ @b.append ' --jobs'
81
+ @b.append " #{@b.format number}" unless number.nil?
82
+ yield @b if block_given?
83
+ self
84
+ end
85
+ def job_stats(level=nil)
86
+ @b.append ' --job-stats'
87
+ @b.append " #{@b.format level}" unless level.nil?
88
+ yield @b if block_given?
89
+ self
90
+ end
91
+ def libdir(lib_dir)
92
+ @b.append " --libdir #{@b.format lib_dir}"
93
+ yield @b if block_given?
94
+ self
95
+ end
96
+ def multitask
97
+ @b.append ' --multitask'
98
+ yield @b if block_given?
99
+ self
100
+ end
101
+ def no_deprecation_warnings
102
+ @b.append ' --no-deprecation-warnings'
103
+ yield @b if block_given?
104
+ self
105
+ end
106
+ def no_search
107
+ @b.append ' --no-search'
108
+ yield @b if block_given?
109
+ self
110
+ end
111
+ def no_system
112
+ @b.append ' --no-system'
113
+ yield @b if block_given?
114
+ self
115
+ end
116
+ def prereqs
117
+ @b.append ' --prereqs'
118
+ yield @b if block_given?
119
+ self
120
+ end
121
+ def quiet
122
+ @b.append ' --quiet'
123
+ yield @b if block_given?
124
+ self
125
+ end
126
+ def rakefile(file)
127
+ @b.append " --rakefile #{@b.format file}"
128
+ yield @b if block_given?
129
+ self
130
+ end
131
+ def rakelibdir(rake_lib_dir)
132
+ @b.append " --rakelibdir #{@b.format rake_lib_dir}"
133
+ yield @b if block_given?
134
+ self
135
+ end
136
+ def require(file)
137
+ @b.append " --require #{@b.format file}"
138
+ yield @b if block_given?
139
+ self
140
+ end
141
+ def rules
142
+ @b.append ' --rules'
143
+ yield @b if block_given?
144
+ self
145
+ end
146
+ def silent
147
+ @b.append ' --silent'
148
+ yield @b if block_given?
149
+ self
150
+ end
151
+ def suppress_backtrace(pattern)
152
+ @b.append " --suppress-backtrace #{@b.format pattern}"
153
+ yield @b if block_given?
154
+ self
155
+ end
156
+ def system
157
+ @b.append ' --system'
158
+ yield @b if block_given?
159
+ self
160
+ end
161
+ def tasks(pattern=nil)
162
+ @b.append ' --tasks'
163
+ @b.append " #{@b.format pattern}" unless pattern.nil?
164
+ yield @b if block_given?
165
+ self
166
+ end
167
+ def trace(out=nil)
168
+ @b.append ' --trace'
169
+ @b.append "=#{@b.format out}" unless out.nil?
170
+ yield @b if block_given?
171
+ self
172
+ end
173
+ def verbose
174
+ @b.append ' --verbose'
175
+ yield @b if block_given?
176
+ self
177
+ end
178
+ def version
179
+ @b.append ' --version'
180
+ yield @b if block_given?
181
+ self
182
+ end
183
+ def where(pattern=nil)
184
+ @b.append ' --where'
185
+ @b.append " #{@b.format pattern}" unless pattern.nil?
186
+ yield @b if block_given?
187
+ self
188
+ end
189
+ end
190
+
191
+ end
192
+ end
193
+ end
@@ -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 Schtasks
8
+ COMMAND_NAME = 'schtasks'
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,352 @@
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 Schtasks
9
+ module V61
10
+ VERSION = '6.1'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::Schtasks::COMMAND_NAME, VERSION
12
+ def configure_schtasks
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def schtasks
18
+ b = UnderlyingBuilder.new @@config
19
+ c = Schtasks.new(b)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class Schtasks < CommandBase
24
+ def initialize(underlying_builder)
25
+ super underlying_builder
26
+ end
27
+ def create
28
+ Create.new @b
29
+ end
30
+ def change
31
+ Change.new @b
32
+ end
33
+ def run
34
+ Run.new @b
35
+ end
36
+ def end
37
+ End.new @b
38
+ end
39
+ def query
40
+ Query.new @b
41
+ end
42
+ def delete
43
+ Delete.new @b
44
+ end
45
+ end
46
+ class Create < CommandBase
47
+ def initialize(underlying_builder)
48
+ super underlying_builder
49
+ @b.append ' /create'
50
+ end
51
+ def schedule_type(schedule_type)
52
+ @b.append " /sc #{@b.format schedule_type}"
53
+ yield @b if block_given?
54
+ self
55
+ end
56
+ def task_name(task_name)
57
+ @b.append " /tn #{@b.format task_name}"
58
+ yield @b if block_given?
59
+ self
60
+ end
61
+ def task_run(task_run)
62
+ @b.append " /tr #{@b.format task_run}"
63
+ yield @b if block_given?
64
+ self
65
+ end
66
+ def computer(computer, username=nil, password=nil)
67
+ @b.append " /s #{@b.format computer}"
68
+ @b.append " /u #{@b.format username}" unless username.nil?
69
+ @b.append " /p #{@b.format_password password}" unless password.nil?
70
+ yield @b if block_given?
71
+ self
72
+ end
73
+ def run_as(username, password)
74
+ @b.append " /ru #{@b.format username} /rp #{@b.format_password password}"
75
+ yield @b if block_given?
76
+ self
77
+ end
78
+ def modifier(modifier)
79
+ @b.append " /mo #{@b.format modifier}"
80
+ yield @b if block_given?
81
+ self
82
+ end
83
+ def day(day)
84
+ @b.append " /d #{@b.format day, ','}"
85
+ yield @b if block_given?
86
+ self
87
+ end
88
+ def month(month)
89
+ @b.append " /m #{@b.format month, ','}"
90
+ yield @b if block_given?
91
+ self
92
+ end
93
+ def idle_time(idle_time)
94
+ @b.append " /i #{@b.format idle_time}"
95
+ yield @b if block_given?
96
+ self
97
+ end
98
+ def start_time(start_time)
99
+ @b.append " /st #{@b.format start_time}"
100
+ yield @b if block_given?
101
+ self
102
+ end
103
+ def repetition_interval(interval)
104
+ @b.append " /ri #{@b.format interval}"
105
+ yield @b if block_given?
106
+ self
107
+ end
108
+ def end_time(end_time)
109
+ @b.append " /et #{@b.format end_time}"
110
+ yield @b if block_given?
111
+ self
112
+ end
113
+ def duration(duration)
114
+ @b.append " /du #{@b.format duration}"
115
+ yield @b if block_given?
116
+ self
117
+ end
118
+ def kill
119
+ @b.append ' /k'
120
+ yield @b if block_given?
121
+ self
122
+ end
123
+ def start_date(start_date)
124
+ @b.append " /sd #{@b.format start_date}"
125
+ yield @b if block_given?
126
+ self
127
+ end
128
+ def end_date(end_date)
129
+ @b.append " /ed #{@b.format end_date}"
130
+ yield @b if block_given?
131
+ self
132
+ end
133
+ def run_only_when_logged_in
134
+ @b.append ' /it'
135
+ yield @b if block_given?
136
+ self
137
+ end
138
+ def delete_upon_completion
139
+ @b.append ' /z'
140
+ yield @b if block_given?
141
+ self
142
+ end
143
+ def force
144
+ @b.append ' /f'
145
+ yield @b if block_given?
146
+ self
147
+ end
148
+ def help
149
+ @b.append ' /?'
150
+ yield @b if block_given?
151
+ self
152
+ end
153
+ end
154
+ class Change < CommandBase
155
+ def initialize(underlying_builder)
156
+ super underlying_builder
157
+ @b.append ' /change'
158
+ end
159
+ def task_name(task_name)
160
+ @b.append " /tn #{@b.format task_name}"
161
+ yield @b if block_given?
162
+ self
163
+ end
164
+ def computer(computer, username=nil, password=nil)
165
+ @b.append " /s #{@b.format computer}"
166
+ @b.append " /u #{@b.format username}" unless username.nil?
167
+ @b.append " /p #{@b.format_password password}" unless password.nil?
168
+ yield @b if block_given?
169
+ self
170
+ end
171
+ def run_as(username, password)
172
+ @b.append " /ru #{@b.format username} /rp #{@b.format_password password}"
173
+ yield @b if block_given?
174
+ self
175
+ end
176
+ def task_run(task_run)
177
+ @b.append " /tr #{@b.format task_run}"
178
+ yield @b if block_given?
179
+ self
180
+ end
181
+ def start_time(start_time)
182
+ @b.append " /st #{@b.format start_time}"
183
+ yield @b if block_given?
184
+ self
185
+ end
186
+ def repetition_interval(interval)
187
+ @b.append " /ri #{@b.format interval}"
188
+ yield @b if block_given?
189
+ self
190
+ end
191
+ def end_time(end_time)
192
+ @b.append " /et #{@b.format end_time}"
193
+ yield @b if block_given?
194
+ self
195
+ end
196
+ def duration(duration)
197
+ @b.append " /du #{@b.format duration}"
198
+ yield @b if block_given?
199
+ self
200
+ end
201
+ def kill
202
+ @b.append ' /k'
203
+ yield @b if block_given?
204
+ self
205
+ end
206
+ def start_date(start_date)
207
+ @b.append " /sd #{@b.format start_date}"
208
+ yield @b if block_given?
209
+ self
210
+ end
211
+ def end_date(end_date)
212
+ @b.append " /ed #{@b.format end_date}"
213
+ yield @b if block_given?
214
+ self
215
+ end
216
+ def enable
217
+ @b.append ' /enable'
218
+ yield @b if block_given?
219
+ self
220
+ end
221
+ def disable
222
+ @b.append ' /disable'
223
+ yield @b if block_given?
224
+ self
225
+ end
226
+ def run_only_when_logged_in
227
+ @b.append ' /it'
228
+ yield @b if block_given?
229
+ self
230
+ end
231
+ def delete_upon_completion
232
+ @b.append ' /z'
233
+ yield @b if block_given?
234
+ self
235
+ end
236
+ def help
237
+ @b.append ' /?'
238
+ yield @b if block_given?
239
+ self
240
+ end
241
+ end
242
+ class Run < CommandBase
243
+ def initialize(underlying_builder)
244
+ super underlying_builder
245
+ @b.append ' /run'
246
+ end
247
+ def task_name(task_name)
248
+ @b.append " /tn #{@b.format task_name}"
249
+ yield @b if block_given?
250
+ self
251
+ end
252
+ def computer(computer, username=nil, password=nil)
253
+ @b.append " /s #{@b.format computer}"
254
+ @b.append " /u #{@b.format username}" unless username.nil?
255
+ @b.append " /p #{@b.format_password password}" unless password.nil?
256
+ yield @b if block_given?
257
+ self
258
+ end
259
+ def help
260
+ @b.append ' /?'
261
+ yield @b if block_given?
262
+ self
263
+ end
264
+ end
265
+ class End < CommandBase
266
+ def initialize(underlying_builder)
267
+ super underlying_builder
268
+ @b.append ' /end'
269
+ end
270
+ def task_name(task_name)
271
+ @b.append " /tn #{@b.format task_name}"
272
+ yield @b if block_given?
273
+ self
274
+ end
275
+ def computer(computer, username=nil, password=nil)
276
+ @b.append " /s #{@b.format computer}"
277
+ @b.append " /u #{@b.format username}" unless username.nil?
278
+ @b.append " /p #{@b.format_password password}" unless password.nil?
279
+ yield @b if block_given?
280
+ self
281
+ end
282
+ def help
283
+ @b.append ' /?'
284
+ yield @b if block_given?
285
+ self
286
+ end
287
+ end
288
+ class Query < CommandBase
289
+ def initialize(underlying_builder)
290
+ super underlying_builder
291
+ @b.append ' /query'
292
+ end
293
+ def format(format)
294
+ @b.append " /fo #{@b.format format}"
295
+ yield @b if block_given?
296
+ self
297
+ end
298
+ def no_headings
299
+ @b.append ' /nh'
300
+ yield @b if block_given?
301
+ self
302
+ end
303
+ def advanced_properties
304
+ @b.append ' /v'
305
+ yield @b if block_given?
306
+ self
307
+ end
308
+ def computer(computer, username=nil, password=nil)
309
+ @b.append " /s #{@b.format computer}"
310
+ @b.append " /u #{@b.format username}" unless username.nil?
311
+ @b.append " /p #{@b.format_password password}" unless password.nil?
312
+ yield @b if block_given?
313
+ self
314
+ end
315
+ def help
316
+ @b.append ' /?'
317
+ yield @b if block_given?
318
+ self
319
+ end
320
+ end
321
+ class Delete < CommandBase
322
+ def initialize(underlying_builder)
323
+ super underlying_builder
324
+ @b.append ' /delete'
325
+ end
326
+ def task_name(task_name)
327
+ @b.append " /tn #{@b.format task_name}"
328
+ yield @b if block_given?
329
+ self
330
+ end
331
+ def force
332
+ @b.append ' /f'
333
+ yield @b if block_given?
334
+ self
335
+ end
336
+ def computer(computer, username=nil, password=nil)
337
+ @b.append " /s #{@b.format computer}"
338
+ @b.append " /u #{@b.format username}" unless username.nil?
339
+ @b.append " /p #{@b.format_password password}" unless password.nil?
340
+ yield @b if block_given?
341
+ self
342
+ end
343
+ def help
344
+ @b.append ' /?'
345
+ yield @b if block_given?
346
+ self
347
+ end
348
+ end
349
+
350
+ end
351
+ end
352
+ end