Skip to content
RELKIT
Esc
↑↓navigate↵open⌘Jpreview
On this page

CLI launcher API

Generated public TypeScript reference for relkit.

For configuration and examples, read automation.

Public imports

  • relkit — 2 exports

All exported APIs

Names link to their complete contracts. Re-exports share their original contract; legacy exports keep their separate identity. Examples link to the API’s inline sample, a maintained repository usage, or the shared module walkthrough.

API Kind Import from Example
main Value relkit Module example
resolveProjectCli Value relkit Module example

index.ts

Lightweight launcher: create directly, or execute the compatible project-owned CLI.

main

Launches one selected entry under Bun, preserving the child’s terminal output.

Signature

declare const main: (argv?: readonly string[], cwd?: string) => Promise<number>;

Source

resolveProjectCli

Resolves only the installed CLI declared by the nearest project manifest.

Signature

declare const resolveProjectCli: (cwd: string) => string;

Source