Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "cruder",
Short: "Generate code for CRUD functions from a Go struct",
Long: `cruder is a tool to generate code for Create, Read, Update, Delete functions
from a Go struct. It supports multiple generators which are listed in the 'Available
Commands section'. Functions that can be generated are:
- Create: Adds an entry
- Read: Gets an entry using an ID
- List: Gets multiple entries
- Update: Updates an entry
- Delete: Deletes an entry using an ID
`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.