OpenCubicChunks / CubicChunksConverter

MIT License
8 stars 7 forks source link

Command line options with --headless #7

Closed HakkaTjakka closed 3 years ago

HakkaTjakka commented 3 years ago

How to use the command line options with --headless parameter? java -jar cubicchunksconverter-1.75.0-SNAPSHOT-all.jar --headless ???

NotStirred commented 3 years ago

I will be rewriting the headless format at some point as the amount of quotes needed for it to work is ridiculous. Here is an example (please note, the type of quote matters, so just copy and paste the command): java -jar cubicchunksconverter-1.75.0-SNAPSHOT-all.jar --headless -- 'srcWorld "./New World"' 'dstWorld "./New WorldCC"' "inFormat Anvil" "outFormat CubicChunks"

HakkaTjakka commented 3 years ago

Thanks. I would never figured that out from the code... I changed the quotes ' & " on the first two option parameters. Could be a dos cmd thing maybe...

java -jar cubicchunksconverter-1.75.0-SNAPSHOT-all.jar --headless -- "srcWorld './New World'" "dstWorld './New WorldCC'" "inFormat Anvil" "outFormat CubicChunks"

It works. Perfect.

HakkaTjakka commented 3 years ago

https://youtu.be/MY9EL2yRO0E It Worked.

Op za 10 okt. 2020 om 09:22 schreef Tom Martin notifications@github.com:

I will be rewriting the headless format at some point as the amount of quotes needed for it to work is ridiculous. Here is an example (please note, the type of quote matters, so just copy and paste the command): java -jar cubicchunksconverter-1.75.0-SNAPSHOT-all.jar --headless -- 'srcWorld "./New World"' 'dstWorld "./New WorldCC"' "inFormat Anvil" "outFormat CubicChunks"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenCubicChunks/CubicChunksConverter/issues/7#issuecomment-706503277, or unsubscribe https://github.com/notifications/unsubscribe-auth/APX6XFCKYCXFIQSNSHP7ANLSKADSVANCNFSM4SK4COIQ .

NotStirred commented 3 years ago

Fantastic! Looks amazing!