DanCardin
DanCardin
Hi, thanks for the report! I think I agree with your take on the first instance. I believe it is the way it is currently, to ensure that the default...
do you have a specific mre? I have a candidate fix for the first issue locally, but in both of the above PRs, the changes I made had accompanying tests...
Aha, so exactly this scenario. just wanted to check that it wasn't some alternate usecase, given that I didn't have a preexisting test that covered this case before. Would either...
Feel free to open an issue about it. my initial reaction, barring there being some uv-available magic `from importlib.metadata import version; version('cappa')` ought to be enough for all packages and...
so the remaining outstanding aspect of this issue is `nargs='?'` allowing `foo: Annotated[int | None, Arg(...)] = 5` such that * `test.py` -> `Args(foo=5)` * `test.py --foo` -> `Args(foo=None)` *...
My understanding of the justification of using xdg is more about organization and cross-operating-system compatibility. Keeping config/data/cache separate from one another, and putting all config in one non-$HOME folder so...
https://docs.rs/etcetera/0.1.0/etcetera/ was also just released and was seemingly designed to solve the problems of dirs being as opinionated as it is.
This is somewhat more complicated because the default value string is being templated inside of a larger string. Or i guess not more complicated if you, for example, expected `{message}`...
I dont know that i would detect markdown/markup string-wise. moreso i think it would be fair to accept Text/Markdown objects where strings are currently allowed, and help/show_default would be wrapped...