feat(cli): command-line client for administration
- Add parsimony list, member, held, archive and queue subcommands over the REST API - Read the token only from PARSIMONY_API_TOKEN; take the URL from --url or PARSIMONY_URL - Print tables by default and JSON with --json - Add member import from a file or stdin, reporting failing lines and exiting non-zero - Require --yes for destructive commands - Add parsimony serve; keep the old -config invocation working - Run the CLI inside the container in the end-to-end test - Test every command against the real API handler; mutation checks over the CLI
This commit is contained in:
parent
77fcdb3bbe
commit
2d8b0ccce6
1 changed files with 1412 additions and 2 deletions
|
|
@ -24,4 +24,4 @@ VOLUME /data
|
|||
EXPOSE 2424 8080 8081
|
||||
USER 65532:65532
|
||||
# Mount the config read-only at /etc/parsimony/parsimony.yaml; keep "db: /data/parsimony.db" in it.
|
||||
ENTRYPOINT ["/parsimony", "-config", "/etc/parsimony/parsimony.yaml"]
|
||||
ENTRYPOINT ["/parsimony", "serve", "-config", "/etc/parsimony/parsimony.yaml"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue