diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-07-15 18:02:43 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:48:05 +0200 |
| commit | a4ae44e7f5bbfb293cdce256da3c40f927605ac9 (patch) | |
| tree | 9ba1aab078c93d642af96566f44c26dce464295e /simulator/opendc/opendc-runner-web/src/main/kotlin/com | |
| parent | a196ba2c08bd16479134ab542f2560b75f19424f (diff) | |
Add skeleton for web runner
Diffstat (limited to 'simulator/opendc/opendc-runner-web/src/main/kotlin/com')
| -rw-r--r-- | simulator/opendc/opendc-runner-web/src/main/kotlin/com/atlarge/opendc/runner/web/Main.kt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/simulator/opendc/opendc-runner-web/src/main/kotlin/com/atlarge/opendc/runner/web/Main.kt b/simulator/opendc/opendc-runner-web/src/main/kotlin/com/atlarge/opendc/runner/web/Main.kt new file mode 100644 index 00000000..3cee259c --- /dev/null +++ b/simulator/opendc/opendc-runner-web/src/main/kotlin/com/atlarge/opendc/runner/web/Main.kt @@ -0,0 +1,20 @@ +package com.atlarge.opendc.runner.web + +import com.github.ajalt.clikt.core.CliktCommand +import mu.KotlinLogging + +private val logger = KotlinLogging.logger {} + +/** + * Represents the CLI command for starting the OpenDC web runner. + */ +class RunnerCli : CliktCommand(name = "runner") { + override fun run() { + logger.info { "Starting OpenDC web runner" } + } +} + +/** + * Main entry point of the runner. + */ +fun main(args: Array<String>) = RunnerCli().main(args) |
