Sha256: 3cf6975069c0b33df128e597de04b53580e83547dd9e35e43ed09557b1a09f07
Contents?: true
Size: 312 Bytes
Versions: 1
Compression:
Stored size: 312 Bytes
Contents
module Spigoter module CLI def self.run(command, opts={}) Run.new.task[command].call(opts) end class Run attr_reader :task def initialize @task = { 'update' => Spigoter::CLI.update, 'compile' => Spigoter::CLI.compile, 'start' => Spigoter::CLI.start } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spigoter-0.3.0 | lib/spigoter/cli/cli.rb |