Hello <@U8VURASJ2>, is the typesafe option/argumen...
# clikt
e
Hello @AJ Alt, is the typesafe option/argument parsing of clikt standalone? I want to run in a main kts script and because of aesthetics I’d like not to define a command class, just parse the incoming args, and use it in script body
👀 1
a
your options need to be gathered into something so that we know what we know what to parse, and a command is that thing. You don't have to define a
run
method, though. You could use a
NoOpCliktCommand
and treat it like a dataclass after parsing.
e
Thanks, forgot to report here but thats exactly what I went for eventually!