Class: FluentCommandBuilder::NuGet::V21::Push
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NuGet::V21::Push
show all
- Defined in:
- lib/fluent_command_builder/command_builders/nuget_21.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, package_path) ⇒ Push
Returns a new instance of Push.
340
341
342
343
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 340
def initialize(underlying_builder, package_path)
super underlying_builder
@b.append " push #{@b.format package_path}"
end
|
Instance Method Details
#api_key(api_key) {|@b| ... } ⇒ Object
349
350
351
352
353
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 349
def api_key(api_key)
@b.append " -ApiKey #{@b.format api_key}"
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
359
360
361
362
363
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 359
def help
@b.append ' -Help'
yield @b if block_given?
self
end
|
#non_interactive {|@b| ... } ⇒ Object
369
370
371
372
373
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 369
def non_interactive
@b.append ' -NonInteractive'
yield @b if block_given?
self
end
|
#source(source) {|@b| ... } ⇒ Object
344
345
346
347
348
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 344
def source(source)
@b.append " -Source #{@b.format source}"
yield @b if block_given?
self
end
|
#timeout(seconds) {|@b| ... } ⇒ Object
354
355
356
357
358
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 354
def timeout(seconds)
@b.append " -Timeout #{@b.format seconds}"
yield @b if block_given?
self
end
|
#verbosity(verbosity) {|@b| ... } ⇒ Object
364
365
366
367
368
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 364
def verbosity(verbosity)
@b.append " -Verbosity #{@b.format verbosity}"
yield @b if block_given?
self
end
|