Skip to content

Commit

Permalink
Merge pull request #1287 from onflow/chasefleming/gen-descriptions
Browse files Browse the repository at this point in the history
Improve `generate` descriptions for clarity
  • Loading branch information
chasefleming authored Nov 29, 2023
2 parents f1acb7f + d7b48ea commit 6392012
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/super/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ var generateFlags = generateFlagsDef{}

var GenerateCommand = &cobra.Command{
Use: "generate",
Short: "Generate new boilerplate files",
Short: "Generate template files for common Cadence code",
GroupID: "super",
Aliases: []string{"g"},
}

var GenerateContractCommand = &command.Command{
Cmd: &cobra.Command{
Use: "contract <name>",
Short: "Generate a new contract",
Short: "Generate Cadence smart contract template",
Example: "flow generate contract HelloWorld",
Args: cobra.ExactArgs(1),
},
Expand All @@ -60,7 +60,7 @@ var GenerateContractCommand = &command.Command{
var GenerateTransactionCommand = &command.Command{
Cmd: &cobra.Command{
Use: "transaction <name>",
Short: "Generate a new transaction",
Short: "Generate a Cadence transaction template",
Example: "flow generate transaction SomeTransaction",
Args: cobra.ExactArgs(1),
},
Expand All @@ -71,7 +71,7 @@ var GenerateTransactionCommand = &command.Command{
var GenerateScriptCommand = &command.Command{
Cmd: &cobra.Command{
Use: "script <name>",
Short: "Generate a new script",
Short: "Generate a Cadence script template",
Example: "flow generate script SomeScript",
Args: cobra.ExactArgs(1),
},
Expand Down

0 comments on commit 6392012

Please sign in to comment.