Post #2004681
2026-05-01 17:53 UTC
@brass75 @pathunstrom some way to smuggle a completer object into the Annotations of a dataclass field?
parser.add_argument("--env-var1").completer = EnvironCompleter
(and there's also whatever the impedance matching between shell completion & internal python readline is...)
Replies (1)
-
@pathunstrom@ngmx.com 2026-05-01 21:21
@stylus @brass75 that's the current strategy for most things. Open a ticket about it, we can figure out what the object should look like.