diff options
Diffstat (limited to 'bin/gitlab-projects')
| -rwxr-xr-x | bin/gitlab-projects | 14 |
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 |
