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,308 @@
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 DotCover
9
+ module V22
10
+ VERSION = '2.2'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::DotCover::COMMAND_NAME, VERSION
12
+ def configure_dotcover
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def dotcover
18
+ b = UnderlyingBuilder.new @@config
19
+ c = DotCover.new(b)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class DotCover < CommandBase
24
+ def initialize(underlying_builder)
25
+ super underlying_builder
26
+ end
27
+ def analyse(configuration_file=nil)
28
+ Analyse.new @b, configuration_file
29
+ end
30
+ def cover(configuration_file=nil)
31
+ Cover.new @b, configuration_file
32
+ end
33
+ def delete(configuration_file=nil)
34
+ Delete.new @b, configuration_file
35
+ end
36
+ def help(command=nil, file_name=nil)
37
+ @b.append ' help'
38
+ @b.append " #{@b.format command}" unless command.nil?
39
+ @b.append " #{@b.format file_name}" unless file_name.nil?
40
+ yield @b if block_given?
41
+ self
42
+ end
43
+ def list(configuration_file=nil)
44
+ List.new @b, configuration_file
45
+ end
46
+ def merge(configuration_file=nil)
47
+ Merge.new @b, configuration_file
48
+ end
49
+ def report(configuration_file=nil)
50
+ Report.new @b, configuration_file
51
+ end
52
+ def version(output_file_name=nil)
53
+ Version.new @b, output_file_name
54
+ end
55
+ def zip(configuration_file=nil)
56
+ Zip.new @b, configuration_file
57
+ end
58
+ end
59
+ class Analyse < CommandBase
60
+ def initialize(underlying_builder, configuration_file=nil)
61
+ super underlying_builder
62
+ @b.append ' analyse'
63
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
64
+ end
65
+ def analyse_target_arguments(bool)
66
+ @b.append " /analyseTargetArguments=#{@b.format bool}"
67
+ yield @b if block_given?
68
+ self
69
+ end
70
+ def attribute_filters(filters)
71
+ @b.append " /attributeFilters=#{@b.format filters, ';'}"
72
+ yield @b if block_given?
73
+ self
74
+ end
75
+ def filters(filters)
76
+ @b.append " /filters=#{@b.format filters, ';'}"
77
+ yield @b if block_given?
78
+ self
79
+ end
80
+ def inherit_console(bool)
81
+ @b.append " /inheritConsole=#{@b.format bool}"
82
+ yield @b if block_given?
83
+ self
84
+ end
85
+ def log_file(log_file)
86
+ @b.append " /logFile=#{@b.format log_file}"
87
+ yield @b if block_given?
88
+ self
89
+ end
90
+ def output(snapshot_path)
91
+ @b.append " /output=#{@b.format snapshot_path}"
92
+ yield @b if block_given?
93
+ self
94
+ end
95
+ def report_type(report_type)
96
+ @b.append " /reportType=#{@b.format report_type}"
97
+ yield @b if block_given?
98
+ self
99
+ end
100
+ def target_arguments(target_arguments)
101
+ @b.append " /targetArguments=#{@b.format target_arguments}"
102
+ yield @b if block_given?
103
+ self
104
+ end
105
+ def target_executable(target_executable)
106
+ @b.append " /targetExecutable=#{@b.format target_executable}"
107
+ yield @b if block_given?
108
+ self
109
+ end
110
+ def target_working_dir(target_working_dir)
111
+ @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
112
+ yield @b if block_given?
113
+ self
114
+ end
115
+ def temp_dir(temp_dir)
116
+ @b.append " /tempDir=#{@b.format temp_dir}"
117
+ yield @b if block_given?
118
+ self
119
+ end
120
+ end
121
+ class Cover < CommandBase
122
+ def initialize(underlying_builder, configuration_file=nil)
123
+ super underlying_builder
124
+ @b.append ' cover'
125
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
126
+ end
127
+ def analyse_target_arguments(bool)
128
+ @b.append " /analyseTargetArguments=#{@b.format bool}"
129
+ yield @b if block_given?
130
+ self
131
+ end
132
+ def attribute_filters(filters)
133
+ @b.append " /attributeFilters=#{@b.format filters, ';'}"
134
+ yield @b if block_given?
135
+ self
136
+ end
137
+ def filters(filters)
138
+ @b.append " /filters=#{@b.format filters, ';'}"
139
+ yield @b if block_given?
140
+ self
141
+ end
142
+ def inherit_console(bool)
143
+ @b.append " /inheritConsole=#{@b.format bool}"
144
+ yield @b if block_given?
145
+ self
146
+ end
147
+ def log_file(log_file)
148
+ @b.append " /logFile=#{@b.format log_file}"
149
+ yield @b if block_given?
150
+ self
151
+ end
152
+ def output(snapshot_path)
153
+ @b.append " /output=#{@b.format snapshot_path}"
154
+ yield @b if block_given?
155
+ self
156
+ end
157
+ def target_arguments(target_arguments)
158
+ @b.append " /targetArguments=#{@b.format target_arguments}"
159
+ yield @b if block_given?
160
+ self
161
+ end
162
+ def target_executable(target_executable)
163
+ @b.append " /targetExecutable=#{@b.format target_executable}"
164
+ yield @b if block_given?
165
+ self
166
+ end
167
+ def target_working_dir(target_working_dir)
168
+ @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
169
+ yield @b if block_given?
170
+ self
171
+ end
172
+ def temp_dir(temp_dir)
173
+ @b.append " /tempDir=#{@b.format temp_dir}"
174
+ yield @b if block_given?
175
+ self
176
+ end
177
+ end
178
+ class Delete < CommandBase
179
+ def initialize(underlying_builder, configuration_file=nil)
180
+ super underlying_builder
181
+ @b.append ' delete'
182
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
183
+ end
184
+ def log_file(log_file)
185
+ @b.append " /logFile=#{@b.format log_file}"
186
+ yield @b if block_given?
187
+ self
188
+ end
189
+ def source(source)
190
+ @b.append " /source=#{@b.format source}"
191
+ yield @b if block_given?
192
+ self
193
+ end
194
+ end
195
+ class List < CommandBase
196
+ def initialize(underlying_builder, configuration_file=nil)
197
+ super underlying_builder
198
+ @b.append ' list'
199
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
200
+ end
201
+ def log_file(log_file)
202
+ @b.append " /logFile=#{@b.format log_file}"
203
+ yield @b if block_given?
204
+ self
205
+ end
206
+ def output(snapshot_path)
207
+ @b.append " /output=#{@b.format snapshot_path}"
208
+ yield @b if block_given?
209
+ self
210
+ end
211
+ def source(source)
212
+ @b.append " /source=#{@b.format source}"
213
+ yield @b if block_given?
214
+ self
215
+ end
216
+ end
217
+ class Merge < CommandBase
218
+ def initialize(underlying_builder, configuration_file=nil)
219
+ super underlying_builder
220
+ @b.append ' merge'
221
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
222
+ end
223
+ def log_file(log_file)
224
+ @b.append " /logFile=#{@b.format log_file}"
225
+ yield @b if block_given?
226
+ self
227
+ end
228
+ def output(snapshot_path)
229
+ @b.append " /output=#{@b.format snapshot_path}"
230
+ yield @b if block_given?
231
+ self
232
+ end
233
+ def source(source)
234
+ @b.append " /source=#{@b.format source}"
235
+ yield @b if block_given?
236
+ self
237
+ end
238
+ def temp_dir(temp_dir)
239
+ @b.append " /tempDir=#{@b.format temp_dir}"
240
+ yield @b if block_given?
241
+ self
242
+ end
243
+ end
244
+ class Report < CommandBase
245
+ def initialize(underlying_builder, configuration_file=nil)
246
+ super underlying_builder
247
+ @b.append ' report'
248
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
249
+ end
250
+ def log_file(log_file)
251
+ @b.append " /logFile=#{@b.format log_file}"
252
+ yield @b if block_given?
253
+ self
254
+ end
255
+ def output(snapshot_path)
256
+ @b.append " /output=#{@b.format snapshot_path}"
257
+ yield @b if block_given?
258
+ self
259
+ end
260
+ def report_type(report_type)
261
+ @b.append " /reportType=#{@b.format report_type}"
262
+ yield @b if block_given?
263
+ self
264
+ end
265
+ def source(source)
266
+ @b.append " /source=#{@b.format source}"
267
+ yield @b if block_given?
268
+ self
269
+ end
270
+ end
271
+ class Version < CommandBase
272
+ def initialize(underlying_builder, output_file_name=nil)
273
+ super underlying_builder
274
+ @b.append ' version'
275
+ @b.append " #{@b.format output_file_name}" unless output_file_name.nil?
276
+ end
277
+ def log_file(log_file)
278
+ @b.append " /logFile=#{@b.format log_file}"
279
+ yield @b if block_given?
280
+ self
281
+ end
282
+ end
283
+ class Zip < CommandBase
284
+ def initialize(underlying_builder, configuration_file=nil)
285
+ super underlying_builder
286
+ @b.append ' zip'
287
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
288
+ end
289
+ def log_file(log_file)
290
+ @b.append " /logFile=#{@b.format log_file}"
291
+ yield @b if block_given?
292
+ self
293
+ end
294
+ def output(snapshot_path)
295
+ @b.append " /output=#{@b.format snapshot_path}"
296
+ yield @b if block_given?
297
+ self
298
+ end
299
+ def source(source)
300
+ @b.append " /source=#{@b.format source}"
301
+ yield @b if block_given?
302
+ self
303
+ end
304
+ end
305
+
306
+ end
307
+ end
308
+ 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 FastLinkChecker
8
+ COMMAND_NAME = 'conlinkchecker'
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,262 @@
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 FastLinkChecker
9
+ module V21
10
+ VERSION = '2.1'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::FastLinkChecker::COMMAND_NAME, VERSION
12
+ def configure_fastlinkchecker
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def fastlinkchecker
18
+ b = UnderlyingBuilder.new @@config
19
+ c = FastLinkChecker.new(b)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class FastLinkChecker < CommandBase
24
+ def initialize(underlying_builder)
25
+ super underlying_builder
26
+ end
27
+ def site(url)
28
+ @b.append " --site #{@b.format url}"
29
+ yield @b if block_given?
30
+ self
31
+ end
32
+ def check_hyperlinks
33
+ @b.append ' -checkHyperlinks'
34
+ yield @b if block_given?
35
+ self
36
+ end
37
+ def check_images
38
+ @b.append ' -checkImages'
39
+ yield @b if block_given?
40
+ self
41
+ end
42
+ def check_others
43
+ @b.append ' -checkOthers'
44
+ yield @b if block_given?
45
+ self
46
+ end
47
+ def recheck_bad(recheck_times)
48
+ @b.append " -recheckBad #{@b.format recheck_times}"
49
+ yield @b if block_given?
50
+ self
51
+ end
52
+ def disp(server_name)
53
+ @b.append " -disp #{@b.format server_name}"
54
+ yield @b if block_given?
55
+ self
56
+ end
57
+ def auth(auth_type)
58
+ @b.append " -auth #{@b.format auth_type}"
59
+ yield @b if block_given?
60
+ self
61
+ end
62
+ def username(username)
63
+ @b.append " -user #{@b.format username}"
64
+ yield @b if block_given?
65
+ self
66
+ end
67
+ def password(password)
68
+ @b.append " -pwd #{@b.format_password password}"
69
+ yield @b if block_given?
70
+ self
71
+ end
72
+ def ignore_robots_txt
73
+ @b.append ' -ignoreRobotsTxt'
74
+ yield @b if block_given?
75
+ self
76
+ end
77
+ def check_first_only
78
+ @b.append ' -checkFirstOnly'
79
+ yield @b if block_given?
80
+ self
81
+ end
82
+ def check_no_extern
83
+ @b.append ' -checkNoExtern'
84
+ yield @b if block_given?
85
+ self
86
+ end
87
+ def check_ignore_case
88
+ @b.append ' -checkIgnoreCase'
89
+ yield @b if block_given?
90
+ self
91
+ end
92
+ def ignore_cookies
93
+ @b.append ' -ignoreCookies'
94
+ yield @b if block_given?
95
+ self
96
+ end
97
+ def not_ignore_www
98
+ @b.append ' -notIgnoreWww'
99
+ yield @b if block_given?
100
+ self
101
+ end
102
+ def check_parent_dir
103
+ @b.append ' -checkParentDir'
104
+ yield @b if block_given?
105
+ self
106
+ end
107
+ def ignore_relative
108
+ @b.append ' -ignoreRelative'
109
+ yield @b if block_given?
110
+ self
111
+ end
112
+ def get_after_head_fail
113
+ @b.append ' -getAfterHeadFail'
114
+ yield @b if block_given?
115
+ self
116
+ end
117
+ def check_restrict(check_level)
118
+ @b.append " -checkRestrict #{@b.format check_level}"
119
+ yield @b if block_given?
120
+ self
121
+ end
122
+ def size_limit_above
123
+ @b.append ' -sizeLimitAbove'
124
+ yield @b if block_given?
125
+ self
126
+ end
127
+ def size_limit_below(size_limit_kb)
128
+ @b.append " -sizeLimitBelow #{@b.format size_limit_kb}"
129
+ yield @b if block_given?
130
+ self
131
+ end
132
+ def limit_links(link_type, n)
133
+ @b.append " -limitLinks #{@b.format link_type} #{@b.format n}"
134
+ yield @b if block_given?
135
+ self
136
+ end
137
+ def skip_slow_links
138
+ @b.append ' -skipSlowLinks'
139
+ yield @b if block_given?
140
+ self
141
+ end
142
+ def check_only(wildcards)
143
+ @b.append " -checkOnly #{@b.format wildcards}"
144
+ yield @b if block_given?
145
+ self
146
+ end
147
+ def skip_files(wildcards)
148
+ @b.append " -skipFiles #{@b.format wildcards}"
149
+ yield @b if block_given?
150
+ self
151
+ end
152
+ def skip_domains(domains)
153
+ @b.append " -skipDomains #{@b.format domains, ';'}"
154
+ yield @b if block_given?
155
+ self
156
+ end
157
+ def skip_bookmarks(bookmarks)
158
+ @b.append " -skipBookmarks #{@b.format bookmarks, ';'}"
159
+ yield @b if block_given?
160
+ self
161
+ end
162
+ def ignore_form_tag
163
+ @b.append ' -ignoreFormTag'
164
+ yield @b if block_given?
165
+ self
166
+ end
167
+ def not_ignore_spaces
168
+ @b.append ' -notIgnoreSpaces'
169
+ yield @b if block_given?
170
+ self
171
+ end
172
+ def ini(ini_file)
173
+ @b.append " --ini #{@b.format ini_file}"
174
+ yield @b if block_given?
175
+ self
176
+ end
177
+ def flc(flc_file)
178
+ @b.append " --flc #{@b.format flc_file}"
179
+ yield @b if block_given?
180
+ self
181
+ end
182
+ def cache
183
+ @b.append ' --cache'
184
+ yield @b if block_given?
185
+ self
186
+ end
187
+ def verbosely
188
+ @b.append ' --verbosely'
189
+ yield @b if block_given?
190
+ self
191
+ end
192
+ def print_broken
193
+ @b.append ' --printBroken'
194
+ yield @b if block_given?
195
+ self
196
+ end
197
+ def user_agent(agent_name)
198
+ @b.append " --userAgent #{@b.format agent_name}"
199
+ yield @b if block_given?
200
+ self
201
+ end
202
+ def report(report_type)
203
+ @b.append " --report #{@b.format report_type}"
204
+ yield @b if block_given?
205
+ self
206
+ end
207
+ def from(address)
208
+ @b.append " -from #{@b.format address}"
209
+ yield @b if block_given?
210
+ self
211
+ end
212
+ def subject(subject)
213
+ @b.append " -subject #{@b.format subject}"
214
+ yield @b if block_given?
215
+ self
216
+ end
217
+ def attach
218
+ @b.append ' -attach'
219
+ yield @b if block_given?
220
+ self
221
+ end
222
+ def start_tls
223
+ @b.append ' -startTls'
224
+ yield @b if block_given?
225
+ self
226
+ end
227
+ def columns(columns)
228
+ @b.append " -columns #{@b.format columns}"
229
+ yield @b if block_given?
230
+ self
231
+ end
232
+ def sort(sort_columns)
233
+ @b.append " -sort #{@b.format sort_columns}"
234
+ yield @b if block_given?
235
+ self
236
+ end
237
+ def unprocessed
238
+ @b.append ' -unprocessed'
239
+ yield @b if block_given?
240
+ self
241
+ end
242
+ def filename(filename)
243
+ @b.append " #{@b.format filename}"
244
+ yield @b if block_given?
245
+ self
246
+ end
247
+ def email(email, port=nil, username=nil, password=nil)
248
+ @b.append " #{@b.format email}"
249
+ @b.append " smtpserver:#{@b.format port} #{@b.format username} #{@b.format_password password}" unless port.nil? or username.nil? or password.nil?
250
+ yield @b if block_given?
251
+ self
252
+ end
253
+ def help
254
+ @b.append ' -h'
255
+ yield @b if block_given?
256
+ self
257
+ end
258
+ end
259
+
260
+ end
261
+ end
262
+ end