From bea1cae58908b7c75d7172fec96a74af0867bc92 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Thu, 26 May 2022 16:03:38 +0100 Subject: [PATCH] update readme --- readme | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/readme b/readme index c1ac13c..882a845 100644 --- a/readme +++ b/readme @@ -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