This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move mitractl documentation to docs/mitractl.md
- Loading branch information
silverpill
committed
Nov 25, 2022
1 parent
5ff2d19
commit 109168b
Showing
2 changed files
with
101 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# mitractl: a tool for instance administrators | ||
|
||
Commands must be run as the same user as the web service: | ||
|
||
```shell | ||
su mitra -c "mitractl generate-invite-code" | ||
``` | ||
|
||
--- | ||
|
||
Print help: | ||
|
||
```shell | ||
mitractl --help | ||
``` | ||
|
||
Generate RSA private key: | ||
|
||
```shell | ||
mitractl generate-rsa-key | ||
``` | ||
|
||
Generate invite code: | ||
|
||
```shell | ||
mitractl generate-invite-code | ||
``` | ||
|
||
List generated invites: | ||
|
||
```shell | ||
mitractl list-invite-codes | ||
``` | ||
|
||
Set or change password: | ||
|
||
```shell | ||
mitractl set-password <user-id> <password> | ||
``` | ||
|
||
Delete profile: | ||
|
||
```shell | ||
mitractl delete-profile 55a3005f-f293-4168-ab70-6ab09a879679 | ||
``` | ||
|
||
Delete post: | ||
|
||
```shell | ||
mitractl delete-post 55a3005f-f293-4168-ab70-6ab09a879679 | ||
``` | ||
|
||
Remove remote posts and media older than 30 days: | ||
|
||
```shell | ||
mitractl delete-extraneous-posts 30 | ||
``` | ||
|
||
Delete attachments that don't belong to any post: | ||
|
||
```shell | ||
mitractl delete-unused-attachments 5 | ||
``` | ||
|
||
Delete empty remote profiles: | ||
|
||
```shell | ||
mitractl delete-empty-profiles 100 | ||
``` | ||
|
||
Generate ethereum address: | ||
|
||
```shell | ||
mitractl generate-ethereum-address | ||
``` | ||
|
||
Update synchronization starting block of Ethereum blockchain: | ||
|
||
```shell | ||
mitractl update-current-block 2000000 | ||
``` | ||
|
||
Create Monero wallet: | ||
|
||
```shell | ||
mitractl create-monero-wallet "mitra-wallet" "passw0rd" | ||
``` |