生命周期
启动
import { Detail } from "@raycast/api";
// Returns the main React component for a view command
export default function Command() {
return <Detail markdown="# Hello" />;
}import { showHUD } from "@raycast/api";
// Runs async. code in a no-view command
export default async function Command() {
await showHUD("Hello");
}launch 参数
属性
描述
类型
卸载
最后更新于