Sha256: 570d1161c7d2bd860f5e6e214ed7d9f3cd092736ed6542c5ee801dda81db38a7
Contents?: true
Size: 688 Bytes
Versions: 1
Compression:
Stored size: 688 Bytes
Contents
#!/usr/bin/env ruby require "denrei/version" require "denrei" require "thor" module Denrei #= Denrei CLI class CLI < Thor class_option :help, :type => :boolean, :aliases => '-h', :desc => 'help message.' class_option :version, :type => :boolean, :desc => 'version' default_task :execute desc "execute", "show dialog with title, message" def execute denrei = Denrei::Core.new denrei.read_denreifile denrei.open denrei.keep_tk end desc "init", "generate Denreifile" def init Denrei::Core.new.init end desc "version", "version" def version p Denrei::VERSION end end end Denrei::CLI.start(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
denrei-0.0.2 | bin/denrei |