Skip to content

Commit

Permalink
Fix relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
GliczDev committed Nov 3, 2024
1 parent f2b31c3 commit 0eecb43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/net/roxymc/slime/importer/cli/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ class Main : CliktCommand() {
.required()
private val source by option("-s", "--source")
.file(mustExist = true, canBeDir = true, mustBeReadable = true)
.convert { it.absoluteFile }
.help("The input file/dir path")
.required()
private val output by option("-o", "--output")
.file(canBeFile = false, canBeDir = false)
.convert { it.absoluteFile }
.help("The output file path")
.required()
private val worldTags by option()
Expand Down

0 comments on commit 0eecb43

Please sign in to comment.