#!/usr/bin/env ruby
# frozen_string_literal: true

$LOAD_PATH.unshift File.expand_path('lib', __dir__)

# GITLAB_PATH points to the Rails.root, which the tool can use to load
# the Rails environment when necessary or to help find configuration files
# when used with GDK
GITLAB_PATH = File.expand_path('../../../', __dir__)

require 'bundler/setup'
require 'gitlab/backup/cli'

Gitlab::Backup::Cli.start(ARGV)
