Skip to content

Commit 0eecb43

Browse files
committed
Fix relative paths
1 parent f2b31c3 commit 0eecb43

File tree

1 file changed

+2
-0
lines changed
  • src/main/kotlin/net/roxymc/slime/importer/cli

1 file changed

+2
-0
lines changed

src/main/kotlin/net/roxymc/slime/importer/cli/Main.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ class Main : CliktCommand() {
2222
.required()
2323
private val source by option("-s", "--source")
2424
.file(mustExist = true, canBeDir = true, mustBeReadable = true)
25+
.convert { it.absoluteFile }
2526
.help("The input file/dir path")
2627
.required()
2728
private val output by option("-o", "--output")
2829
.file(canBeFile = false, canBeDir = false)
30+
.convert { it.absoluteFile }
2931
.help("The output file path")
3032
.required()
3133
private val worldTags by option()

0 commit comments

Comments
 (0)