class Fig::Command::Action::RunCommandLine
Public Instance Methods
apply_base_config?()
click to toggle source
# File lib/fig/command/action/run_command_line.rb, line 38 def apply_base_config?() return true end
apply_config?()
click to toggle source
# File lib/fig/command/action/run_command_line.rb, line 34 def apply_config?() return true end
configure(options)
click to toggle source
# File lib/fig/command/action/run_command_line.rb, line 42 def configure(options) @command_line = options.shell_command @descriptor = options.descriptor return end
descriptor_requirement()
click to toggle source
# File lib/fig/command/action/run_command_line.rb, line 18 def descriptor_requirement() return nil end
execute()
click to toggle source
# File lib/fig/command/action/run_command_line.rb, line 49 def execute() environment = @execution_context.environment base_package = @execution_context.base_package base_config = @execution_context.base_config environment.expand_command_line( base_package, base_config, @descriptor, @command_line ) do |command| @execution_context.operating_system.plain_or_shell_exec command end # Will never get here. end
load_base_package?()
click to toggle source
# File lib/fig/command/action/run_command_line.rb, line 26 def load_base_package?() return true end
modifies_repository?()
click to toggle source
# File lib/fig/command/action/run_command_line.rb, line 22 def modifies_repository?() return false end
options()
click to toggle source
# File lib/fig/command/action/run_command_line.rb, line 14 def options() return %w<--> end
register_base_package?()
click to toggle source
# File lib/fig/command/action/run_command_line.rb, line 30 def register_base_package?() return true end