summaryrefslogtreecommitdiff
path: root/bin/gitlab-projects
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-04 10:02:39 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-04 10:02:39 +0200
commit4908b89495e27b6ea829f32143c7753a6139df32 (patch)
tree8bc11743d8100772ab6163c58db08fb5a516c66e /bin/gitlab-projects
parentfcf70b91639cc4ee369631cf8fa4ebad4fbf04c8 (diff)
downloadgitlab-shell-4908b89495e27b6ea829f32143c7753a6139df32.tar.gz
Project builder
Diffstat (limited to 'bin/gitlab-projects')
-rwxr-xr-xbin/gitlab-projects14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/gitlab-projects b/bin/gitlab-projects
new file mode 100755
index 0000000..223c69f
--- /dev/null
+++ b/bin/gitlab-projects
@@ -0,0 +1,14 @@
+#!/usr/bin/env ruby
+
+#
+# GitLab Projects shell. Add/remove projects from /home/git/repositories
+#
+# Ex.
+# /bin/gitlab-projects add-project gitlab/gitlab-ci.git
+#
+#
+ROOT_PATH = File.join(File.expand_path(File.dirname(__FILE__)), "..")
+require File.join(ROOT_PATH, 'lib', 'gitlab_projects')
+GitlabProjects.new.exec
+
+exit