class Pfm::CLI

def normalized_exit_code(maybe_integer)

def normalized_exit_code(maybe_integer)
  if maybe_integer.is_a?(Integer) && (0..255).cover?(maybe_integer)
    maybe_integer
  else
    0
  end
end