summaryrefslogtreecommitdiff
path: root/bin/gitlab-projects
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gitlab-projects')
-rwxr-xr-xbin/gitlab-projects5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/gitlab-projects b/bin/gitlab-projects
index 223c69f..f34706f 100755
--- a/bin/gitlab-projects
+++ b/bin/gitlab-projects
@@ -1,13 +1,16 @@
#!/usr/bin/env ruby
+
+require_relative '../lib/gitlab_init'
+
#
# GitLab Projects shell. Add/remove projects from /home/git/repositories
#
# Ex.
# /bin/gitlab-projects add-project gitlab/gitlab-ci.git
#
+# /bin/gitlab-projects rm-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