bin/gitcloner in git_cloner-0.0.3 vs bin/gitcloner in git_cloner-0.0.4

- old
+ new

@@ -9,12 +9,15 @@ # 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' + desc 'clone', 'clone git repositories from Gitclonerfile settings' def clone - GitCloner::Core.new.execute + GitCloner::Core.new.clone + rescue => e + warn(e.message) + exit(false) end desc 'init', 'generate Gitclonerfile' def init GitCloner::Core.new.init