Sha256: f6b75f43fdd8446ab59f87718b3739e4acb2255a3dba2359818174885f3a1aaa
Contents?: true
Size: 603 Bytes
Versions: 2
Compression:
Stored size: 603 Bytes
Contents
require 'thor' require 'certflare/version' module Certflare class CLI < Thor desc '--version, -v', 'returns version and exits' def __version puts Certflare::VERSION end map ['-v', '--version'] => :__version subcommand('cert', Certflare::Commands::Cert) end class HookCLI < Thor desc '--version, -v', 'returns version and exits' def __version puts Certflare::VERSION end map ['-v', '--version'] => :__version desc 'auth [options]', '' def auth # Stub end desc 'clean [options]', '' def clean # Stub end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
certflare-0.1.4 | lib/certflare/cli.rb |
certflare-0.1.2 | lib/certflare/cli.rb |