1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 15:28:06 +02:00
overleaf-toolkit/bin/init
2020-06-12 09:05:42 +01:00

18 lines
361 B
Bash
Executable file

#! /usr/bin/env bash
set -euo pipefail
function set_up_config_files() {
echo "Copying config files"
cp ./examples/*.yml ./config/
cp ./examples/overleaf.rc ./config/
cp ./examples/variables.env ./config/
}
function __main__() {
# TODO:
# - check if the user wants to overwrite existing config
set_up_config_files
}
__main__ "$@"