Laurence Gonsalves

Results 44 comments of Laurence Gonsalves

That would be very much appreciated! I am on vacation for the next week, so I probably won't have a chance to look at any PRs until I get back.

Unfortunately, I can't reproduce this problem. I tried replacing the contents of [kotlin-argparser-example's Main.kt](https://github.com/xenomachina/kotlin-argparser-example/blob/master/src/main/kotlin/com/xenomachina/argparser/example/Main.kt) (except for imports and package statement) with your code, and it functioned correctly: ```ShellSession $ ./gradlew...

Have you tried running it from the command line?

Right now we only know how to parse from a string into value, but not go from an arbitrary value back into a string. We could use `toString()`, but this...

Sorry, no, that isn't possible. Can you explain more about what you mean? Parsing of the command line arguments must be performed in the order in which they appear on...

You can make `--optional_key` optional by setting a default value, like `null`, for it.

That said, this is an interesting thought: theoretically it would be possible to add a mode to the parser (or perhaps per-delegate) where it validates delegates lazily.

This is a good idea! Are you just asking for something you can call to display the help, or do you also want an easy way to enable help printing...

Sorry, no, I haven't had a chance to work on this one yet. I don't think it would be hard to implement though. If you're interested I'd be happy to...

This is intended behavior, but you can at least work around the space collapsing issue by using non-breaking spaces: ``` val actual = "D\u00a0\u00a0F".trimMargin().wrapText(80) assertEquals("D F", actual) ``` There's still...