lemmy/scripts/update_config_defaults.sh

7 lines
96 B
Bash
Executable File

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