Sha256: 0540e5d1fb1da7618684f530a6a6a4574f8fb089df6c8aa4a32db29e7f91e234
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
require 'fig/command/action' require 'fig/command/action/role/has_no_sub_action' module Fig; end class Fig::Command; end module Fig::Command::Action; end class Fig::Command::Action::RunCommandStatement include Fig::Command::Action include Fig::Command::Action::Role::HasNoSubAction def options() return %w<--command-extra-args> end def descriptor_requirement() return nil end def modifies_repository?() return false end def load_base_package?() return true end def register_base_package?() return true end def apply_config?() return true end def apply_base_config?() return true end def configure(options) @extra_argv = options.command_extra_argv @descriptor = options.descriptor return end def execute() environment = @execution_context.environment base_package = @execution_context.base_package base_config = @execution_context.base_config environment.execute_config( base_package, base_config, @descriptor, @extra_argv || [] ) { |command| @execution_context.operating_system.shell_exec command } # Will never get here. end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fig-0.1.81 | lib/fig/command/action/run_command_statement.rb |
fig-0.1.79 | lib/fig/command/action/run_command_statement.rb |