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
The walk stopped after 200 commits: lines older than 678c8b8 point at it.
Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
lines 1–21why, one step back1import type { Command } from "effect/cli";23import { check } from "./check.ts";4import { envSet } from "./env-set.ts";5import { init } from "./init.ts";6import { login, logout } from "./login.ts";7import { why } from "./why.ts";89export interface LocalEntry {10 readonly path: readonly [string, ...string[]];11 readonly command: Command.Command.Any;12}1314export const local = [15 { command: login, path: ["login"] },16 { command: logout, path: ["logout"] },17 { command: init, path: ["init"] },18 { command: check, path: ["check"] },19 { command: why, path: ["why"] },20 { command: envSet, path: ["env", "set"] },21] as const satisfies readonly LocalEntry[];