Sha256: c5df43661507a4a4603c52eeecea5a9f4f6fb1909fdbf565139b10ca5eb2bafb
Contents?: true
Size: 700 Bytes
Versions: 1
Compression:
Stored size: 700 Bytes
Contents
#!/usr/bin/env ruby # encoding: utf-8 require "templatable_core" require "templatable/version" require "thor" module Templatable #= Templatable CLI class CLI < Thor class_option :help, :type => :boolean, :aliases => '-h', :desc => 'help message.' class_option :version, :type => :boolean, :desc => 'version' desc "execute", "generate parameter-template apply class." def execute Templatable::Core.new.execute end desc "init", "generate Templatablefile" def init Templatable::Core.new.init end desc "version", "version" def version p Templatable::VERSION end end end Templatable::CLI.start(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
templatable-0.0.1 | bin/templatable |