import { command } from '@kidd-cli/core'
import { z } from 'zod'

export default command({
  description: 'Say hello',
  options: z.object({
    name: z.string().describe('Name to greet').default('world'),
  }),
  handler: async (ctx) => {
    ctx.log.raw(`Hello, ${ctx.args.name}!`)
  },
})
