Class: FluentCommandBuilder::NuGet::V21::Spec
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NuGet::V21::Spec
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_id) ⇒ Spec
444
445
446
447
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 444
def initialize(underlying_builder, package_id)
super underlying_builder
@b.append " spec #{@b.format package_id}"
end
|
Instance Method Details
#assembly_path(assembly_path) {|@b| ... } ⇒ Object
448
449
450
451
452
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 448
def assembly_path(assembly_path)
@b.append " -AssemblyPath #{@b.format assembly_path}"
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
453
454
455
456
457
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 453
def force
@b.append ' -Force'
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
458
459
460
461
462
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 458
def help
@b.append ' -Help'
yield @b if block_given?
self
end
|
#non_interactive {|@b| ... } ⇒ Object
468
469
470
471
472
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 468
def non_interactive
@b.append ' -NonInteractive'
yield @b if block_given?
self
end
|
#verbosity(verbosity) {|@b| ... } ⇒ Object
463
464
465
466
467
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 463
def verbosity(verbosity)
@b.append " -Verbosity #{@b.format verbosity}"
yield @b if block_given?
self
end
|