Skip to content

Commit a10f188

Browse files
committed
Update description
1 parent 9997f8e commit a10f188

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkg/cmd/generate/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func NewCmdGenerate(globalOptions *model.GlobalOptions) *cobra.Command {
3333

3434
c := &cobra.Command{
3535
Use: "generate",
36-
Short: "Generate code from database configuration",
36+
Short: "Generate code from templates and database table metadata",
3737
Aliases: []string{"gen", "g"},
3838
Example: `
3939
# Generate code from config file (default: gencoder.yaml), config json schema: https://raw.githubusercontent.com/DanielLiu1123/gencoder/refs/heads/main/schema.json

pkg/cmd/introspect/introspect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func NewCmdIntrospect(globalOptions *model.GlobalOptions) *cobra.Command {
2020

2121
cmd := &cobra.Command{
2222
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",
2424
Aliases: []string{"intro", "i"},
2525
Example: `
2626
# Print metadata of database tables from default config file (gencoder.yaml)

pkg/cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ func NewCmdRoot(buildInfo *model.BuildInfo) *cobra.Command {
1515
c := &cobra.Command{
1616
Use: "gencoder",
1717
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.",
2020
Example: `
2121
# Generate code from config file (default: gencoder.yaml), config json schema: https://raw.githubusercontent.com/DanielLiu1123/gencoder/refs/heads/main/schema.json
2222
$ gencoder generate -f gencoder.yaml

0 commit comments

Comments
 (0)