Commit 0ea2da1
Changed files (1)
bin
bin/add
@@ -2,6 +2,11 @@
# frozen_string_literal: true
require 'uri'
+if ARGV.empty?
+ puts "Please provide path to git repo."
+ exit 1
+end
+
uri = URI.parse(ARGV[0])
destination = "pack/plugins/start/#{uri.path.split('/')[-1]}"