usage: shaarli [-h] [-c CONFIG] [-i INSTANCE] [-u URL] [-s SECRET]
[--format {json,pprint,text}]
{get-info,get-links,post-link} ...
positional arguments:
{get-info,get-links,post-link}
REST API endpoint
get-info Get information about this instance
get-links Get a collection of links ordered by creation date
post-link Create a new link or note
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
Configuration file
-i INSTANCE, --instance INSTANCE
Shaarli instance (configuration alias)
-u URL, --url URL Shaarli instance URL
-s SECRET, --secret SECRET
API secret
--format {json,pprint,text}
Output formatting
$ shaarli -h
usage: shaarli [-h] [-c CONFIG] [-i INSTANCE] [-u URL] [-s SECRET]
[--format {json,pprint,text}]
{get-info,get-links,post-link,put-link,get-tags,get-tag,put-tag,delete-tag}
...
positional arguments:
{get-info,get-links,post-link,put-link,get-tags,get-tag,put-tag,delete-tag}
REST API endpoint
get-info Get information about this instance
get-links Get a collection of links ordered by creation date
post-link Create a new link or note
put-link Update an existing link or note
get-tags Get all tags
get-tag Get a single tag
put-tag Rename an existing tag
delete-tag Delete a tag from every link where it is used
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
Configuration file
-i INSTANCE, --instance INSTANCE
Shaarli instance (configuration alias)
-u URL, --url URL Shaarli instance URL
-s SECRET, --secret SECRET
API secret
-f --format {json,pprint,text}
Output formatting
-o --outfile FILENAME
File to save the program output to
$ pip freeze
certifi==2018.11.29
chardet==3.0.4
idna==2.8
PyJWT==1.7.1
requests==2.21.0
requests-jwt==0.5.3
shaarli-client==0.2.0
urllib3==1.24.1