abstract class KalesContextualTask : KalesTask
Defines a Kales task that is supposed to run from an existing Kales application root directory, defined by applicationRootDir, eg.: "~/projects/foo"
KalesContextualTask(applicationRootDir: File)
Defines a Kales task that is supposed to run from an existing Kales application root directory, defined by applicationRootDir, eg.: "~/projects/foo" |
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 FileSpec.rawWriteTo(destination: Path): Unit
|
|
fun readDatabaseConfig(): KalesDatabaseConfig
Returns a KalesDatabaseConfig representing the current project's |
abstract fun run(): Unit |
class DbCreateTask : KalesContextualTask |
|
class DbMigrateTask : KalesContextualTask |
|
class GenerateControllerTask : KalesContextualTask
Generates a controller class |
|
class GenerateMigrationTask : KalesContextualTask |
|
class GenerateModelTask : KalesContextualTask |
|
class GenerateViewTask : KalesContextualTask |