-
Notifications
You must be signed in to change notification settings - Fork 18
feat: command aliases #71
Copy link
Copy link
Open
Description
Hey, firstly, thank you for the incredible project! In few prompts I could refactor one my internal CLI to be fully typed and that to supports agents.
One feature that I'm missing is command full aliases, for example:
Cli.create('greet', {
description: 'A greeting CLI',
fullAliases: ['cumprimentar', 'saludar', 'begroeten'],
args: z.object({
name: z.string().describe('Name to greet'),
}),
run(c) {
return { message: `hello ${c.args.name}` }
},
}).serve()This would help the CLI to scale for localization 😄
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels