Command
API 参考
launchCommand
签名
export async function launchCommand(options: LaunchOptions): Promise<void>;例子
import { launchCommand, LaunchType } from "@raycast/api";
export default async function Command() {
await launchCommand({ name: "list", type: LaunchType.UserInitiated, context: { foo: "bar" } });
}参数
名称
描述
类型
返回
updateCommandMetadata
签名
例子
返回
类型
LaunchContext
LaunchOptions
IntraExtensionLaunchOptions
名称
描述
类型
InterExtensionLaunchOptions
名称
描述
类型
最后更新于