gitlab-ce/bin/gitlab-backup-cli

15 lines
401 B
Ruby
Executable File

#!/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)