index.ts
This file
Path
apps/cli/src/local/index.ts
21 lines · 656 bytes · TypeScript
Last changed by
Merge build/comments-cli-protocol-checks into mainoscabrielbefore adoptionc86204f
History of this fileTake it
12345678910111213141516171819202122import type { Command } from "effect/cli";
import { check } from "./check.ts";import { envSet } from "./env-set.ts";import { init } from "./init.ts";import { login, logout } from "./login.ts";import { why } from "./why.ts";
export interface LocalEntry { readonly path: readonly [string, ...string[]]; readonly command: Command.Command.Any;}
export const local = [ { command: login, path: ["login"] }, { command: logout, path: ["logout"] }, { command: init, path: ["init"] }, { command: check, path: ["check"] }, { command: why, path: ["why"] }, { command: envSet, path: ["env", "set"] },] as const satisfies readonly LocalEntry[];