update readme

This commit is contained in:
Akbar Rahman 2022-05-26 16:03:38 +01:00
parent 954c9e214c
commit bea1cae589
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

15
readme
View File

@ -7,6 +7,21 @@ simple URL shortener
usage
-----
creating a new shortlink at https://pls.cx/shortlink
susmng [-s pls.cx] create -l shortlink -v https://example.com
deleting the shortlink https://pls.cx/shortlink
susmng [-s pls.cx] delete -l shortlink -v confirm
susmng will assume the first server in the 'secrets' section if the -s flag is
not provided.
installation
------------
running the server
1. generate the secret used to create and delete shortlinks