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/commands/whoami.ts | |
| parent | af0cf9c1ee10901ab91b04a1d73afdcb2191a88f (diff) | |
| download | karakeep-3352a3ea393849550573deff8d774ba6bf149471.tar.zst | |
build(cli): Prepare for publishing CLI to npm
Diffstat (limited to 'apps/cli/commands/whoami.ts')
| -rw-r--r-- | apps/cli/commands/whoami.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/cli/commands/whoami.ts b/apps/cli/commands/whoami.ts deleted file mode 100644 index 2b32f2f0..00000000 --- a/apps/cli/commands/whoami.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Command } from "@commander-js/extra-typings"; -import { getAPIClient } from "lib/trpc"; - -export const whoamiCmd = new Command() - .name("whoami") - .description("returns info about the owner of this API key") - .action(async () => { - const resp = await getAPIClient().users.whoami.query(); - console.log(resp); - }); |
