lemmy/scripts/update_config_defaults.sh

6 lines
96 B
Bash
Executable file

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