diff --git a/README.md b/README.md index 4d47f0c..f0ec84d 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,12 @@ const main = defineCommand({ description: "Use friendly greeting", }, }, + setup({ args }){ + console.log(`now setup ${args.command}`); + }, + cleanup({ args }){ + console.log(`now cleanup ${args.command}`); + }, run({ args }) { console.log(`${args.friendly ? "Hi" : "Greetings"} ${args.name}!`); },