Class: FluentCommandBuilder::NuGet::V20::Update
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NuGet::V20::Update
show all
- Defined in:
- lib/fluent_command_builder/command_builders/nuget_20.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, packages_config_or_solution) ⇒ Update
Returns a new instance of Update.
388
389
390
391
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 388
def initialize(underlying_builder, packages_config_or_solution)
super underlying_builder
@b.append " update #{@b.format packages_config_or_solution}"
end
|
Instance Method Details
#help {|@b| ... } ⇒ Object
427
428
429
430
431
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 427
def help
@b.append ' -Help'
yield @b if block_given?
self
end
|
#id(package_id) {|@b| ... } ⇒ Object
397
398
399
400
401
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 397
def id(package_id)
@b.append " -Id #{@b.format package_id}"
yield @b if block_given?
self
end
|
#prerelease {|@b| ... } ⇒ Object
422
423
424
425
426
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 422
def prerelease
@b.append ' -Prerelease'
yield @b if block_given?
self
end
|
#repository_path(repository_path) {|@b| ... } ⇒ Object
402
403
404
405
406
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 402
def repository_path(repository_path)
@b.append " -RepositoryPath #{@b.format repository_path}"
yield @b if block_given?
self
end
|
#safe {|@b| ... } ⇒ Object
407
408
409
410
411
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 407
def safe
@b.append ' -Safe'
yield @b if block_given?
self
end
|
#self {|@b| ... } ⇒ Object
412
413
414
415
416
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 412
def self
@b.append ' -Self'
yield @b if block_given?
self
end
|
#source(source) {|@b| ... } ⇒ Object
392
393
394
395
396
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 392
def source(source)
@b.append " -Source #{@b.format source}"
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
417
418
419
420
421
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 417
def verbose
@b.append ' -Verbose'
yield @b if block_given?
self
end
|