lib/linner/command.rb in linner-0.1.3 vs lib/linner/command.rb in linner-0.1.4
- old
+ new
@@ -2,12 +2,18 @@
require "listen"
module Linner
class Command < Thor
include Thor::Actions
+ map "-v" => :version
def self.source_root
File.dirname(__FILE__)
+ end
+
+ desc "version", "show version"
+ def version
+ puts Linner::VERSION
end
desc "build", "build assets"
def build
Notifier.info do