Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-11 03:12:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-11 03:12:08 +0300
commitdebef4f8978f263ec0f6a794fc73c0c476d1eac5 (patch)
tree360e2d3f7eaa27f48cb17d1386548d05e393428f /bin
parentcdcfa7dc144c949663a02c988994798d894c3a7c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gitlab-backup-cli14
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)