defopt
defopt copied to clipboard
Effortless argument parser
Specific feature request: > I wonder if you could support composition without adding too much complexity. A lot of my CLIs take an optional config argument which takes a path...
I previously wrote about consuming command line arguments in 2 function calls (https://github.com/anntzer/defopt/issues/107) and you kindly added functionality for that. I have noticed one issue. When a wrong command line...
defopt 6.4.0 ```python import defopt def main(*, arg: int) -> None: """Short tool description longer description Args: arg: description Output Format 1: - detail 1 - detail 2: - sub-detail...
See: https://github.com/anntzer/defopt/pull/129#issuecomment-2915967135