Class: FluentCommandBuilder::NuGet::V20::NuGet
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NuGet::V20::NuGet
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) ⇒ NuGet
Returns a new instance of NuGet.
24
25
26
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 24
def initialize(underlying_builder)
super underlying_builder
end
|
Instance Method Details
#config ⇒ Object
27
28
29
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 27
def config
Config.new @b
end
|
#delete(package_id, package_version) ⇒ Object
30
31
32
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 30
def delete(package_id, package_version)
Delete.new @b, package_id, package_version
end
|
#help(command = nil) ⇒ Object
33
34
35
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 33
def help(command=nil)
Help.new @b, command
end
|
#install(package_id_or_path_to_packages_config) ⇒ Object
36
37
38
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 36
def install(package_id_or_path_to_packages_config)
Install.new @b, package_id_or_path_to_packages_config
end
|
#list(search_terms = nil) ⇒ Object
39
40
41
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 39
def list(search_terms=nil)
List.new @b, search_terms
end
|
#pack(nuspec_or_project) ⇒ Object
42
43
44
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 42
def pack(nuspec_or_project)
Pack.new @b, nuspec_or_project
end
|
#publish(package_id, package_version, api_key) ⇒ Object
45
46
47
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 45
def publish(package_id, package_version, api_key)
Publish.new @b, package_id, package_version, api_key
end
|
#push(package_path) ⇒ Object
48
49
50
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 48
def push(package_path)
Push.new @b, package_path
end
|
#set_api_key(api_key) ⇒ Object
51
52
53
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 51
def set_api_key(api_key)
SetApiKey.new @b, api_key
end
|
#sources(action) ⇒ Object
54
55
56
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 54
def sources(action)
Sources.new @b, action
end
|
#spec(package_id) ⇒ Object
57
58
59
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 57
def spec(package_id)
Spec.new @b, package_id
end
|
#update(packages_config_or_solution) ⇒ Object
60
61
62
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 60
def update(packages_config_or_solution)
Update.new @b, packages_config_or_solution
end
|