All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.commands.GradleCommand.groovy Maven / Gradle / Ivy

description( "TODO: command description" ) {
  usage "grace ${lowerCaseName}"

  // TODO: populate arguments
  argument name:'arg1', description:"arg1 description", required:true

  // TODO: populate flags
  flag name:'flag1', description:"flag1 description"
}

if(args) {
    // TODO: implement command
    gradle.${taskName}()
}
else {
    error "No argument specified"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy