module Envo::CmdRun::Opts

Public Instance Methods

parse_script(opt) click to toggle source
# File lib/envo/cmd_run.rb, line 33
def parse_script(opt)
  case opt
  when 'force' then return {interact: :force}
  when 'no-force' then return {interact: :noforce}
  when 'interactive' then return {interact: :interact}
  when 'raw' then return {raw: true}
  else raise Envo::Error.new "script option: #{opt}"
  end
end