Commit 9cd7cb3

mo khan <mo@mokhan.ca>
2021-02-05 22:32:28
feat: add stub for clone command
1 parent 5b03930
Changed files (3)
bin
exe
lib
bin/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+cd "$(dirname "$0")/.."
+
+bundle exec ./exe/jive "$@"
exe/jive
@@ -2,3 +2,5 @@
 # frozen_string_literal: true
 
 require "jive/cli"
+
+::Jive::Cli::App.start(ARGV)
lib/jive/cli.rb
@@ -2,3 +2,13 @@
 
 require "thor"
 require "jive"
+
+module Jive
+  module Cli
+    class App < Thor
+      desc "clone <org>/<project>", "Clones the project from GitHub to ~/src/github.com/<org>/<project>"
+      def clone(slug)
+      end
+    end
+  end
+end