aboutsummaryrefslogtreecommitdiffstats
path: root/apps/cli/src/lib/globals.ts
diff options
context:
space:
mode:
authorkamtschatka <sschatka@gmail.com>2024-06-09 23:30:24 +0200
committerGitHub <noreply@github.com>2024-06-09 22:30:24 +0100
commitcde97267a90802c6a367aa61ff157983506deead (patch)
tree7fc6dbca60ab537ce3e3be657f4d510dcdeb5fdb /apps/cli/src/lib/globals.ts
parent6928800a604f05ef62234cb5c3ee1e60fb27ea1a (diff)
downloadkarakeep-cde97267a90802c6a367aa61ff157983506deead.tar.zst
fix(cli): Bookmark list output is not a valid JSON. Fixes #150 (#181)
* bookmark list output is not a valid JSON #150 Reworked the cli to switch over to json output * changed the logging to log created bookmarks as an array switch all log output that is just a status to stderr --------- Co-authored-by: kamtschatka <simon.schatka@gmx.at>
Diffstat (limited to 'apps/cli/src/lib/globals.ts')
-rw-r--r--apps/cli/src/lib/globals.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/cli/src/lib/globals.ts b/apps/cli/src/lib/globals.ts
index 771136da..8a301cfe 100644
--- a/apps/cli/src/lib/globals.ts
+++ b/apps/cli/src/lib/globals.ts
@@ -1,6 +1,7 @@
export interface GlobalOptions {
apiKey: string;
serverAddr: string;
+ json?: true;
}
export let globalOpts: GlobalOptions | undefined = undefined;