class GenerateControllerTask : KalesContextualTask
Generates a controller class
GenerateControllerTask(workingDirectory: File, name: String, actions: Set<String> = setOf())
Generates a controller class |
val appDirectory: File
returns the directory where the code for package "com.example.foo.app" is found |
|
val applicationRootDir: File |
|
val appPackageName: String?
returns "com.example.foo" |
|
val dbMigrateDir: File
Returns the path to the migrations directory |
|
val resourcesDir: File |
fun run(): Unit |
fun FileSpec.rawWriteTo(destination: Path): Unit
|
|
fun readDatabaseConfig(): KalesDatabaseConfig
Returns a KalesDatabaseConfig representing the current project's |