Command
API Reference
launchCommand
Signature
export async function launchCommand(options: LaunchOptions): Promise<void>;Example
import { launchCommand, LaunchType } from "@raycast/api";
export default async function Command() {
await launchCommand({ name: "list", type: LaunchType.UserInitiated, context: { foo: "bar" } });
}Parameters
Name
Description
Type
Return
updateCommandMetadata
Signature
Example
Return
Types
LaunchContext
LaunchOptions
IntraExtensionLaunchOptions
Property
Description
Type
InterExtensionLaunchOptions
Property
Description
Type
Last updated

