Sha256: 158348fea4afc7e5ea1152fc179bb28819ba063ae731fc3c9df54637a7f6c517
Contents?: true
Size: 681 Bytes
Versions: 6
Compression:
Stored size: 681 Bytes
Contents
# encoding: utf-8 #!/usr/bin/env ruby require 'dslable/version' require 'dslable_core' require "thor" module Dslable #= Dslable CLI class CLI < Thor class_option :help, :type => :boolean, :aliases => 'h', :desc => 'help message.' class_option :version, :type => :boolean, :aliases => 'v', :desc => 'version' desc "generate", "generate gem template" def generate(*args) Dslable::Core.new.generate end desc "init", "generate Dsldefine template" def init(*args) Dslable::Core.new.init end desc "version", "version" def version p Dslable::VERSION end end end Dslable::CLI.start(ARGV)
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
dslable-0.0.6 | bin/dslable |
dslable-0.0.5 | bin/dslable |
dslable-0.0.4 | bin/dslable |
dslable-0.0.3 | bin/dslable |
dslable-0.0.2 | bin/dslable |
dslable-0.0.1 | bin/dslable |