Class: FluentCommandBuilder::NuGet::V21::Help
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NuGet::V21::Help
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, command = nil) ⇒ Help
Returns a new instance of Help.
124
125
126
127
128
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 124
def initialize(underlying_builder, command=nil)
super underlying_builder
@b.append ' help'
@b.append " #{@b.format command}" unless command.nil?
end
|
Instance Method Details
#all {|@b| ... } ⇒ Object
129
130
131
132
133
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 129
def all
@b.append ' -All'
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
139
140
141
142
143
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 139
def help
@b.append ' -Help'
yield @b if block_given?
self
end
|
#markdown {|@b| ... } ⇒ Object
134
135
136
137
138
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 134
def markdown
@b.append ' -Markdown'
yield @b if block_given?
self
end
|
#non_interactive {|@b| ... } ⇒ Object
149
150
151
152
153
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 149
def non_interactive
@b.append ' -NonInteractive'
yield @b if block_given?
self
end
|
#verbosity(verbosity) {|@b| ... } ⇒ Object
144
145
146
147
148
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 144
def verbosity(verbosity)
@b.append " -Verbosity #{@b.format verbosity}"
yield @b if block_given?
self
end
|