Skip to content

tapedb/cli

Generated from the public tapedb/cli entry point’s TypeScript declarations. Signatures and comments are the API contract for this preview.

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>;

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>;