17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
import { defineCommand } from "citty";
|
|
import { formsListCommand } from "./list.js";
|
|
import { formsCreateCommand } from "./create.js";
|
|
import { formsDeleteCommand } from "./delete.js";
|
|
|
|
export const formsCommand = defineCommand({
|
|
meta: {
|
|
name: "forms",
|
|
description: "Embeddable form-widget admin commands (list, create, delete).",
|
|
},
|
|
subCommands: {
|
|
list: formsListCommand,
|
|
create: formsCreateCommand,
|
|
delete: formsDeleteCommand,
|
|
},
|
|
});
|