Sha256: d197f1fb34f78c8379e42417a408708a14e5255f85856aa53774b329be255cd0
Contents?: true
Size: 537 Bytes
Versions: 47
Compression:
Stored size: 537 Bytes
Contents
require '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
47 entries across 47 versions & 1 rubygems