Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielLiu1123 committed Oct 3, 2024
1 parent 9997f8e commit a10f188
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func NewCmdGenerate(globalOptions *model.GlobalOptions) *cobra.Command {

c := &cobra.Command{
Use: "generate",
Short: "Generate code from database configuration",
Short: "Generate code from templates and database table metadata",
Aliases: []string{"gen", "g"},
Example: `
# Generate code from config file (default: gencoder.yaml), config json schema: https://raw.githubusercontent.com/DanielLiu1123/gencoder/refs/heads/main/schema.json
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/introspect/introspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func NewCmdIntrospect(globalOptions *model.GlobalOptions) *cobra.Command {

cmd := &cobra.Command{
Use: "introspect",
Short: "introspect command is used to output the table metadata information for the given configuration.",
Short: "Print the table metadata for the given configuration",
Aliases: []string{"intro", "i"},
Example: `
# Print metadata of database tables from default config file (gencoder.yaml)
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ func NewCmdRoot(buildInfo *model.BuildInfo) *cobra.Command {
c := &cobra.Command{
Use: "gencoder",
Version: buildInfo.Version,
Short: "The ultimate code generator",
Long: "gencoder is a code generator that generates code from templates/databases, for any languages/frameworks.",
Short: "A code generator that keeps your changes during regeneration.",
Long: "A code generator that keeps your changes during regeneration, powered by Handlebars.",
Example: `
# Generate code from config file (default: gencoder.yaml), config json schema: https://raw.githubusercontent.com/DanielLiu1123/gencoder/refs/heads/main/schema.json
$ gencoder generate -f gencoder.yaml
Expand Down

0 comments on commit a10f188

Please sign in to comment.