Sha256: 66aa8f5aa87515c3de2cdba7294b113659d38f25433a6e6ad436483c3c943e99
Contents?: true
Size: 700 Bytes
Versions: 2
Compression:
Stored size: 700 Bytes
Contents
#!/usr/bin/env ruby require 'sublime_sunippetter' require 'thor' module SublimeSunippetter # = SublimeSunippetter 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', 'generate Sublime Text2 snippet' def execute SublimeSunippetter::Core.new.generate_sunippets end desc 'init', 'generate Sunippetdefine' def init SublimeSunippetter::Core.new.init end desc 'version', 'version' def version p SublimeSunippetter::VERSION end end end SublimeSunippetter::CLI.start
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sublime_sunippetter-0.0.5 | bin/suni |
sublime_sunippetter-0.0.4 | bin/suni |