File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ func NewCmdGenerate(globalOptions *model.GlobalOptions) *cobra.Command {
33
33
34
34
c := & cobra.Command {
35
35
Use : "generate" ,
36
- Short : "Generate code from database configuration " ,
36
+ Short : "Generate code from templates and database table metadata " ,
37
37
Aliases : []string {"gen" , "g" },
38
38
Example : `
39
39
# Generate code from config file (default: gencoder.yaml), config json schema: https://raw.githubusercontent.com/DanielLiu1123/gencoder/refs/heads/main/schema.json
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ func NewCmdIntrospect(globalOptions *model.GlobalOptions) *cobra.Command {
20
20
21
21
cmd := & cobra.Command {
22
22
Use : "introspect" ,
23
- Short : "introspect command is used to output the table metadata information for the given configuration. " ,
23
+ Short : "Print the table metadata for the given configuration" ,
24
24
Aliases : []string {"intro" , "i" },
25
25
Example : `
26
26
# Print metadata of database tables from default config file (gencoder.yaml)
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ func NewCmdRoot(buildInfo *model.BuildInfo) *cobra.Command {
15
15
c := & cobra.Command {
16
16
Use : "gencoder" ,
17
17
Version : buildInfo .Version ,
18
- Short : "The ultimate code generator" ,
19
- Long : "gencoder is a code generator that generates code from templates/databases, for any languages/frameworks ." ,
18
+ Short : "A code generator that keeps your changes during regeneration. " ,
19
+ Long : "A code generator that keeps your changes during regeneration, powered by Handlebars ." ,
20
20
Example : `
21
21
# Generate code from config file (default: gencoder.yaml), config json schema: https://raw.githubusercontent.com/DanielLiu1123/gencoder/refs/heads/main/schema.json
22
22
$ gencoder generate -f gencoder.yaml
You can’t perform that action at this time.
0 commit comments