summaryrefslogtreecommitdiffstats
path: root/cli
Commit message (Collapse)AuthorAgeFilesLines
* cli: Add command to edit clients.Harald Eilertsen2024-04-253-0/+19
| | | | | | | Not entirely happy with this one. Specially the patch method of the Connection struct. While the other method take (or return) an object that can be serialized to json, the patch method takes a string slice directly, and passing it to the API.
* Strip `id` column when saving clients.Harald Eilertsen2024-04-251-1/+15
| | | | | Inserting multiple clients with the same id does not work, so we remove it and let the db backend assign the id instead.
* cli: Add feature to save clients to the db.Harald Eilertsen2024-04-245-9/+88
| | | | | | | Also introduces a Connection object to handle the actual connection to the remote API. We also load the remote API url and jwt token from the process environment so these are no longer hardcoded into the source code.
* Add license information to all files.Harald Eilertsen2024-04-224-1/+15
|
* Initial commitHarald Eilertsen2024-04-224-0/+70