diff options
Diffstat (limited to 'data.sh')
-rw-r--r-- | data.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ export FORGEBOT_DATA_DIR="forgebotdata" mkdir -p "$FORGEBOT_DATA_DIR" +list_all_watched_accounts() { + grep --files-with-matches -rE '.*' "$FORGEBOT_DATA_DIR" | sed s'|.*/||' +} + list_watchers() { # Usage: list_watchers <minecraft uuid> cat "$FORGEBOT_DATA_DIR/$1" |