Sha256: 75e9d10e6036f93e9b7f65317701f03a1d5273e8b5542c03f1b41a62a7947eb9
Contents?: true
Size: 326 Bytes
Versions: 10
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true module EacCli class DocoptRunner DOCOPT_ERROR_EXIT_CODE = 0xC0 class << self def run(options = {}) create(options).send(:run) rescue Docopt::Exit => e STDERR.write(e.message + "\n") ::Kernel.exit(DOCOPT_ERROR_EXIT_CODE) end end end end
Version data entries
10 entries across 10 versions & 3 rubygems