AJ Alt

Results 88 comments of AJ Alt

I agree that more lazyness would be great. Timberkt actually used to do something like your solution 1, but I [changed it](https://github.com/ajalt/timberkt/commit/115d4ed8f91b34bc81012af15f9ed83577994d9e) in version 1.2.0. The reason why is that...

Interesting. This is doable, but I assumed that people would use the regular Timber methods directly in Java code. What's your use case for using the extensions outside of Kotlin?...

`Context` is the normal way to pass information between commands. However, since parent commands are run before their children, there isn't a way for the parent to act on any...

I've had discussions about JLine in the past, and heard that Clikt is easy enough to integrate into JLine as it is, so I've never added more code to accommodate....

Thank you for the clarifications. Is there a reason that you need to reuse a command, rather than creating a new instance each time you want to parse argv?

The latest release of Clikt adds the experimental [`CompletionCandidates.Custom`](https://ajalt.github.io/clikt/api/clikt/com.github.ajalt.clikt.completion/-completion-candidates/-custom/) that you could use to implement whatever completion you want. If you need to carry extra runtime information, you could create...

#138 added public functions to get registered subcommands/parameters/groups, so you should be able to use them instead of reflection.

I'm glad you like Clikt! Can you provide some more information on your use case? What functionality are you looking for?

You can get the info you're looking for by getting all a [command's options][1], then getting the `groupName` from each option's [parameterHelp][4]. If you need that actual `OptionGroup` instance, you...

If you're looking to set the wrap width for all text in a command, you can pass `width` to the constructor of [`ClicktHelpformatter`](https://ajalt.github.io/clikt/api/clikt/com.github.ajalt.clikt.output/-clikt-help-formatter/). If you want to wrap a specific...