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
125
126
127
128
129
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 125
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
130
131
132
133
134
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 130
def all
@b.append ' -All'
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
140
141
142
143
144
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 140
def help
@b.append ' -Help'
yield @b if block_given?
self
end
|
#markdown {|@b| ... } ⇒ Object
135
136
137
138
139
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 135
def markdown
@b.append ' -Markdown'
yield @b if block_given?
self
end
|
#non_interactive {|@b| ... } ⇒ Object
150
151
152
153
154
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 150
def non_interactive
@b.append ' -NonInteractive'
yield @b if block_given?
self
end
|
#verbosity(verbosity) {|@b| ... } ⇒ Object
145
146
147
148
149
|
# File 'lib/fluent_command_builder/command_builders/nuget_21.rb', line 145
def verbosity(verbosity)
@b.append " -Verbosity #{@b.format verbosity}"
yield @b if block_given?
self
end
|