aboutsummaryrefslogtreecommitdiffstats
path: root/apps/cli/src/index.ts
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-04-24 12:36:04 +0100
committerMohamedBassem <me@mbassem.com>2024-04-24 12:40:29 +0100
commitac2f78f6360bd94922ab95c47dfc8bae49e42804 (patch)
treeff42a091e2dd6ba61d0ac0fd37c4b7fbb81e0e94 /apps/cli/src/index.ts
parent3352a3ea393849550573deff8d774ba6bf149471 (diff)
downloadkarakeep-ac2f78f6360bd94922ab95c47dfc8bae49e42804.tar.zst
style(cli): Change all help messages to lowercase
Diffstat (limited to 'apps/cli/src/index.ts')
-rw-r--r--apps/cli/src/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/cli/src/index.ts b/apps/cli/src/index.ts
index cdb2956e..12cd7a13 100644
--- a/apps/cli/src/index.ts
+++ b/apps/cli/src/index.ts
@@ -7,22 +7,22 @@ import { setGlobalOptions } from "@/lib/globals";
import { Command, Option } from "@commander-js/extra-typings";
const program = new Command()
- .name("hoarder-cli")
+ .name("hoarder")
.description("A CLI interface to interact with the hoarder api")
.addOption(
- new Option("--api-key <key>", "The API key to interact with the API")
+ new Option("--api-key <key>", "the API key to interact with the API")
.makeOptionMandatory(true)
.env("HOARDER_API_KEY"),
)
.addOption(
new Option(
"--server-addr <addr>",
- "The address of the server to connect to",
+ "the address of the server to connect to",
)
.makeOptionMandatory(true)
.env("HOARDER_SERVER_ADDR"),
)
- .version(process.env.SERVER_VERSION ?? "nightly");
+ .version(process.env.npm_package_version ?? "0.0.0");
program.addCommand(bookmarkCmd);
program.addCommand(listsCmd);