tapedb/cli
Generiert aus den TypeScript-Deklarationen des öffentlichen tapedb/cli-Entry-Points. Signaturen und Kommentare sind der API-Vertrag dieser Preview.
Functions
Abschnitt betitelt „Functions“exportWorkspace
Abschnitt betitelt „exportWorkspace“Streams a workspace export to a file or stdout. Uses TAPEDB_TOKEN when set,
otherwise mints a dev claim (which only tapedb dev serves).
declare function exportWorkspace(argv: string[]): Promise<number>;isEntryPoint
Abschnitt betitelt „isEntryPoint“True when this module is the process entry point. npx tapedb runs it
through the node_modules/.bin symlink: argv[1] is the link, while
import.meta.url is the resolved file, so both are compared after resolving.
declare function isEntryPoint(entry: string | undefined, moduleUrl: string): boolean;Runs the CLI and returns its exit code. Importable without side effects.
declare function run(argv: string[]): Promise<number>;