#!/usr/bin/env bash
#-------------------------------------------------------------------------------
# Copyright (C) 2012-2019 British Crown (Met Office) & Contributors.
#
# This file is part of Rose, a framework for meteorological suites.
#
# Rose is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Rose is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Rose. If not, see <http://www.gnu.org/licenses/>.
#-------------------------------------------------------------------------------
# NAME
#     rosie checkout
#
# SYNOPSIS
#     rosie checkout [OPTIONS] ID ...
#
# DESCRIPTION
#     Checkout local copies of suites.
#
#     For each `ID` in the argument list, checkout a working copy of the suite
#     identified by `ID` to the standard location.
#
# OPTIONS
#     --force, -f
#         If working copy for suite identified by `ID` already exists, remove
#         it. Continue to the next `ID` if checkout of a suite fails.
#     --quiet, -q
#         Decrement verbosity.
#     --verbose, -v
#         Increment verbosity.
#-------------------------------------------------------------------------------
exec python2 -m rosie.vc checkout "$@"
