discord-kurante/aux/get_recruit_data

9 lines
304 B
Text
Raw Permalink Normal View History

2020-05-04 16:47:27 -07:00
#!/usr/bin/env bash
set -euo pipefail
PROJECT_ROOT=$(cargo locate-project | sed -E 's#.*"(/.*)/Cargo.toml"}#\1#')
DATASET="https://raw.githubusercontent.com/Tsuk1ko/arknights-toolbox/master/src/data/character.json"
curl "$DATASET" | cat | "$PROJECT_ROOT"/aux/filter_raw_character_data "$PROJECT_ROOT"