Skip to content

Commit

Permalink
Merge pull request #903 from johan313/patch-1
Browse files Browse the repository at this point in the history
Update creatingCustomCommands.adoc
  • Loading branch information
matrei authored Aug 11, 2024
2 parents 38376a5 + d99008f commit 0da43fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/en/guide/commandLine/creatingCustomCommands.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To create a custom command, you need to create a Groovy class that implements th
// grails-app/commands/com/example/GreetCommand.groovy
package com.example
import grails.cli.GrailsApplicationCommand
import grails.dev.commands.GrailsApplicationCommand
class GreetCommand implements GrailsApplicationCommand {
Expand Down Expand Up @@ -91,7 +91,7 @@ Grails also supports command-line arguments and options for custom commands. You
// grails-app/commands/com/example/GreetCommand.groovy
package com.example
import grails.cli.GrailsApplicationCommand
import grails.dev.commands.GrailsApplicationCommand
class GreetCommand implements GrailsApplicationCommand {
Expand Down Expand Up @@ -155,7 +155,7 @@ Here's an example of how you can create a custom command that uses the execution
// grails-app/commands/com/example/BackupCommand.groovy
package com.example
import grails.cli.GrailsApplicationCommand
import grails.dev.commands.GrailsApplicationCommand
class BackupCommand implements GrailsApplicationCommand {
Expand Down

0 comments on commit 0da43fe

Please sign in to comment.