18 lines
625 B
TypeScript
18 lines
625 B
TypeScript
#!/usr/bin/env bun
|
|
/**
|
|
* CLI entry point for auth-runtime.
|
|
*
|
|
* Commands:
|
|
* token → {"token":"st_xxx"}
|
|
* session → {"accessToken":"...","expiresIn":900}
|
|
* client-config → {"clientId":"...","metadata":{...}}
|
|
* request <METHOD> <path> [options] → {"status":200,"body":"..."}
|
|
*
|
|
* Options for `request`:
|
|
* --body '{"key":"value"}' Request body (JSON string)
|
|
* --api-base URL Override API base URL
|
|
*
|
|
* JSON output to stdout, errors to stderr, exit code 0/1.
|
|
*/
|
|
export {};
|
|
//# sourceMappingURL=cli.d.ts.map
|