Sha256: 780acffca61ef5fea4bf161f690aaa4d08f85c2e00e8abe92a0094c07d240c41
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
#!/usr/bin/env ruby # encoding: utf-8 require "git_cloner_core" require "git_cloner/version" require "thor" module GitCloner # GitCloner CLI class CLI < Thor class_option :help, :type => :boolean, :aliases => '-h', :desc => 'help message.' class_option :version, :type => :boolean, :desc => 'version' desc "clone", "clone git repositories from Gitclonerfile" def clone GitCloner::Core.new.execute end desc "init", "generate Gitclonerfile" def init GitCloner::Core.new.init end desc "version", "version" def version p GitCloner::VERSION end end end GitCloner::CLI.start(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_cloner-0.0.1 | bin/gitcloner |