From ac2f78f6360bd94922ab95c47dfc8bae49e42804 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 24 Apr 2024 12:36:04 +0100 Subject: style(cli): Change all help messages to lowercase --- apps/cli/src/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/cli/src/index.ts') 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 ", "The API key to interact with the API") + new Option("--api-key ", "the API key to interact with the API") .makeOptionMandatory(true) .env("HOARDER_API_KEY"), ) .addOption( new Option( "--server-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); -- cgit v1.2.3-70-g09d2