diff --git a/readme.md b/readme.md index 0189b28..21885dc 100644 --- a/readme.md +++ b/readme.md @@ -7,11 +7,21 @@ sus URL shortener - creating a new shortlink at https://pls.cx/shortlink - susmng [-s pls.cx] create -l shortlink -v https://example.com + susmng [-s pls.cx] create -l shortlink -r https://example.com + +- creating a new shortlink at https://pls.cx/shortlink which redirects to https://example.com/a the first n times, https://example.com/b any other times + + susmng [-s pls.cx] create -l shortlink -r https://example.com/a \ + -c hits,gt, -a https://example.com/b + +- creating a new shortlink at https://pls.cx/shortlink which redirects to https://example.com/before before unix timestamp n (seconds), https://example.com/after after that + + susmng [-s pls.cx] create -l shortlink -r https://example.com/before \ + -c timestamp,gt, -a https://example.com/after - deleting the shortlink https://pls.cx/shortlink - susmng [-s pls.cx] delete -l shortlink -v confirm + susmng [-s pls.cx] delete -l shortlink - listing all shortlinks on the server pls.cx