Sha256: c09fa860f6374ead6e72b81d5b15a744575dcaef99f491a58eb245e2091baf21
Contents?: true
Size: 632 Bytes
Versions: 2
Compression:
Stored size: 632 Bytes
Contents
#!/usr/bin/env ruby require "cri" require "rfix" require "rfix/log" require "rubocop" require "rfix/extensions/string" require "rfix/commands/extensions/options" require "rfix/commands/helper/loader" require "rfix/branch" include Rfix::Loader include Rfix::Log root = Cri::Command.new Dir.glob(File.join(__dir__, "../lib/rfix/commands/*.rb")).each do |command| root.add_command(Cri::Command.load_file(command, infer_name: true)) end begin if root.run(ARGV, {}, hard_exit: false) exit 0 else prt root.help exit 1 end rescue RuntimeError => e say_abort e.to_s rescue Rfix::Error => e say_abort e.to_s end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rfix-1.2.6 | exe/rfix |
rfix-1.2.5 | exe/rfix |