Skip to content
← Public packages

@kentcdodds/raycast

Raycast launcher: stored execute commands via webhooks (canonical; do not use raycast-shortcuts).

src/index.ts

33 lines · 744 B · TypeScript
export type RaycastDescribeResult = {
	name: string
	kodyId: string
	description: string
	exports: string[]
}

/**
 * Describe the Raycast launcher package (execute commands + package invoke).
 *
 * @returns Package metadata and export names
 *
 * @example
 * import describe from 'kody:@kentcdodds/raycast'
 * const info = await describe()
 */
export default async function describe(): Promise<RaycastDescribeResult> {
	return {
		name: '@kentcdodds/raycast',
		kodyId: 'raycast',
		description:
			'Raycast launcher: store execute commands in package storage and run them over minted webhooks.',
		exports: [
			'list-commands',
			'upsert-command',
			'delete-command',
			'run',
			'list-packages',
			'get-package',
			'invoke',
		],
	}
}