Sha256: 3713096eb5bd7a61d3ffb4fd94095f1baf4841bcc33eb488ddf4ef517d7d361a
Contents?: true
Size: 368 Bytes
Versions: 2
Compression:
Stored size: 368 Bytes
Contents
module Rpub module Commander def invoke(args = []) subcommand, *options = args Commands::Base.matching(subcommand).new(options).invoke rescue SubclassTracker::NoSuchSubclass Commands::Main.new(args).invoke rescue NoConfiguration abort 'The current directory does not look like an rpub project.' end extend self end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rpub-0.2.0 | lib/rpub/commander.rb |
rpub-0.1.0 | lib/rpub/commander.rb |