diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-11 03:12:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-11 03:12:08 +0300 |
commit | debef4f8978f263ec0f6a794fc73c0c476d1eac5 (patch) | |
tree | 360e2d3f7eaa27f48cb17d1386548d05e393428f /bin | |
parent | cdcfa7dc144c949663a02c988994798d894c3a7c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gitlab-backup-cli | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/gitlab-backup-cli b/bin/gitlab-backup-cli new file mode 100755 index 00000000000..4037684be07 --- /dev/null +++ b/bin/gitlab-backup-cli @@ -0,0 +1,14 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +$:.unshift File.expand_path("../../lib", __FILE__) + +# We require APP_PATH when the rails environment is required only, +# this allows for faster CLI execution when rails is not needed +APP_PATH = File.expand_path('../config/application', __dir__) + +require_relative '../config/boot' + +require 'gitlab/backup/cli' + +Gitlab::Backup::Cli::Runner.start(ARGV) |