diff options
| author | MohamedBassem <me@mbassem.com> | 2024-04-24 11:37:35 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-04-24 12:21:55 +0100 |
| commit | 3352a3ea393849550573deff8d774ba6bf149471 (patch) | |
| tree | a7d78db4fadbe7123c7d5045f5a537965382b84a /apps/cli/src/commands | |
| parent | af0cf9c1ee10901ab91b04a1d73afdcb2191a88f (diff) | |
| download | karakeep-3352a3ea393849550573deff8d774ba6bf149471.tar.zst | |
build(cli): Prepare for publishing CLI to npm
Diffstat (limited to '')
| -rw-r--r-- | apps/cli/src/commands/bookmarks.ts (renamed from apps/cli/commands/bookmarks.ts) | 2 | ||||
| -rw-r--r-- | apps/cli/src/commands/lists.ts (renamed from apps/cli/commands/lists.ts) | 2 | ||||
| -rw-r--r-- | apps/cli/src/commands/tags.ts (renamed from apps/cli/commands/tags.ts) | 2 | ||||
| -rw-r--r-- | apps/cli/src/commands/whoami.ts (renamed from apps/cli/commands/whoami.ts) | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/apps/cli/commands/bookmarks.ts b/apps/cli/src/commands/bookmarks.ts index 0da3dd71..264ad818 100644 --- a/apps/cli/commands/bookmarks.ts +++ b/apps/cli/src/commands/bookmarks.ts @@ -1,7 +1,7 @@ import * as fs from "node:fs"; +import { getAPIClient } from "@/lib/trpc"; import { Command } from "@commander-js/extra-typings"; import chalk from "chalk"; -import { getAPIClient } from "lib/trpc"; import type { ZBookmark } from "@hoarder/shared/types/bookmarks"; diff --git a/apps/cli/commands/lists.ts b/apps/cli/src/commands/lists.ts index 099b7869..abf6f78c 100644 --- a/apps/cli/commands/lists.ts +++ b/apps/cli/src/commands/lists.ts @@ -1,5 +1,5 @@ +import { getAPIClient } from "@/lib/trpc"; import { Command } from "@commander-js/extra-typings"; -import { getAPIClient } from "lib/trpc"; import { getBorderCharacters, table } from "table"; import { listsToTree } from "@hoarder/shared/utils/listUtils"; diff --git a/apps/cli/commands/tags.ts b/apps/cli/src/commands/tags.ts index f9df83cd..f74f1df6 100644 --- a/apps/cli/commands/tags.ts +++ b/apps/cli/src/commands/tags.ts @@ -1,5 +1,5 @@ +import { getAPIClient } from "@/lib/trpc"; import { Command } from "@commander-js/extra-typings"; -import { getAPIClient } from "lib/trpc"; import { getBorderCharacters, table } from "table"; export const tagsCmd = new Command() diff --git a/apps/cli/commands/whoami.ts b/apps/cli/src/commands/whoami.ts index 2b32f2f0..b55bfa67 100644 --- a/apps/cli/commands/whoami.ts +++ b/apps/cli/src/commands/whoami.ts @@ -1,5 +1,5 @@ +import { getAPIClient } from "@/lib/trpc"; import { Command } from "@commander-js/extra-typings"; -import { getAPIClient } from "lib/trpc"; export const whoamiCmd = new Command() .name("whoami") |
