lemmy/scripts/update_config_defaults.sh

7 lines
104 B
Bash
Executable File

#!/usr/bin/env bash
set -e
dest=${1-config/defaults.hjson}
cargo run -- --print-config-docs > "$dest"