Sha256: f493f8b21d6ad5e15ad6bf8cb5395d7a7fa77a528ad78f5f900016ee4ddc56cb
Contents?: true
Size: 542 Bytes
Versions: 21
Compression:
Stored size: 542 Bytes
Contents
require 'iapi-idlc-sdk-pfm/command/base' require 'mixlib/shellout' module Pfm module Command class Exec < Pfm::Command::Base banner 'Usage: pfm exec SYSTEM_COMMAND' def run(params) exec(*params) raise 'Exec failed without an exception, your ruby is buggy' # should never get here end def needs_version?(_params) # Force version to get passed down to command false end def needs_help?(params) ['-h', '--help'].include? params[0] end end end end
Version data entries
21 entries across 21 versions & 1 rubygems