Destroy a form generated by vela generate form.
Syntax
$ vela destroy form <model>$ vela destroy form contactThe model name is the one used when the form was generated, for example contact or login. The route files and the Zod schema are removed.
Options
-y, --yes- Skip the confirmation prompt--route <route>- The custom route the form was generated at. Must match the--routeused at generation.
$ vela destroy form project --route "(app)/[team_id]/projects/new"Without the matching --route, destroy looks in the default location and won’t find the files.