Update README.md

This commit is contained in:
House of Vanity
2021-05-06 16:24:11 -07:00
committed by GitHub
parent bd97298459
commit 43d125255d

View File

@ -28,8 +28,9 @@ $ pip3 install -r requirements.txt
$ apt install qrencode $ apt install qrencode
# CLI usage. Client configs saved into `clients/peer_name.{conf,-qr.png,-qr.txt}` # CLI usage. Client configs saved into `clients/peer_name.{conf,-qr.png,-qr.txt}`
$ python3 gen.py --peer my-pc # add a new peer `my-pc` $ python3 gen.py --peer my-pc # add a new peer `my-pc`
$ python3 gen.py --update # just regenerate all configs in `clients/` $ python3 gen.py --delete my-pc # delete peer `my-pc`
$ python3 gen.py --update # just regenerate all configs in `clients/`
# Telegram bot usage # Telegram bot usage
$ TG_TOKEN=1292121488:AAG... TG_ADMIN=<your_username> python3 bot.py $ TG_TOKEN=1292121488:AAG... TG_ADMIN=<your_username> python3 bot.py