From 6d7d3f4afe6db5ec4879cbe467ddf95d617632cd Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Fri, 25 Oct 2024 10:28:32 +1300 Subject: [PATCH] update docs --- docs/DEPLOYING.md | 4 ++-- docs/TOOLS.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/DEPLOYING.md b/docs/DEPLOYING.md index 713f1c3..4d1dae8 100644 --- a/docs/DEPLOYING.md +++ b/docs/DEPLOYING.md @@ -69,7 +69,7 @@ cargo build --release Ok now let's install that (along with the utility binaries): ```bash -sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate} /opt/chorus/sbin/ +sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate,chorus_cmd} /opt/chorus/sbin/ ``` Now let's create our config file @@ -180,7 +180,7 @@ sudo journalctl -f -u chorus.service cd /opt/chorus/src/chorus git pull cargo build --release -sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate} /opt/chorus/sbin/ +sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate,chorus_cmd} /opt/chorus/sbin/ sudo systemctl restart chorus.service ```` diff --git a/docs/TOOLS.md b/docs/TOOLS.md index 89eb2e3..25481bf 100644 --- a/docs/TOOLS.md +++ b/docs/TOOLS.md @@ -27,3 +27,9 @@ This shows the public keys you have approved. Usage: **chorus_moderate** ** This is an interactive tool to moderate events which have been accepted, but which are not authored by a chorus user. If you chose to approve them, they will become available to the public. + +## chorus_cmd + +Usage: **chorus_cmd** ** ** *[args...]* + +Commands available: delete_by_id (specify the ID in hex), delete_by_pubkey (specify the pubkey in hex)