A command line tools to interact with a coons instance.
pip install coons-cli
You can set your generated personal token in a environment variable COONS_TOKEN
.
Once the coons-cli
package is installed you can run coons --help
command.
Usage: coons get [OPTIONS] SIZE
Get a flat list of object from a coons instance.
Options:
-q, --query TEXT
--help Show this message and exit.
Usage: coons add [OPTIONS] INPUT
Create object form a text file.
Options:
--help Show this message and exit.
The input file is an ascii(text) file of the form:
Informatic:interest
development -> Coons:project
realisation -> coons:web service
dependency -> invenio:software
dependency -> flask:software
realisation -> coons-ui:software
dependency -> angular:software
realisation -> coons-cli:software
dependency -> poetry:software
skills -> python:language
example -> misc:snippet
documentation -> python:web page
skills -> typescript:language
Each line is an object of the form name:type
. The predicate -> name:type
represents a link.
A sample of file can be found here.
Usage: coons delete [OPTIONS] QUERY
Delete object from a query, confirmation is required.
Options:
--help Show this message and exit.