Sha256: 9309e4e4dae15290be774f29cc454f6bdb23dde18f38e9f1c2e802293a7ae8cb
Contents?: true
Size: 333 Bytes
Versions: 1
Compression:
Stored size: 333 Bytes
Contents
# frozen_string_literal: true require 'thor' require 'pingo/cli/pingo' module Pingo class CLI < Thor map '--version' => :version, '-v' => :version desc :version, 'Show version' def version puts VERSION end private def method_missing(model_name) pingo(model_name.to_s) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pingo-1.1.0 | lib/pingo/cli.rb |