Sha256: 82f105fe71522a9b931c7a17ca8900c8358d9156b118ac38fcca1d8f9e23ba29
Contents?: true
Size: 640 Bytes
Versions: 1
Compression:
Stored size: 640 Bytes
Contents
#!/usr/bin/env ruby # encoding: utf-8 require 'markun_core' require 'markun/version' require 'thor' module Markun # = Markun CLI class CLI < Thor class_option :help, type: :boolean, aliases: '-h', desc: 'help message.' class_option :version, type: :boolean, desc: 'version' desc 'execute', 'convert markdown to html with menu-link' def execute Markun::Core.new.execute end desc 'init', 'generate Markunfile' def init Markun::Core.new.init end desc 'version', 'version' def version p Markun::VERSION end end end Markun::CLI.start(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
markun-0.0.1 | bin/markun |