Closed shannmu closed 3 days ago
feat(clap_complete): Add ParseState to support more dynamic completion
The PR / commit title say this is a feature but this looks like its a refactor (code clean up with no user-visible change). Could you clarify what the end-user impact of this either in the type or in the description?
Related issue: https://github.com/clap-rs/clap/issues/3920
Add
ParseState
to record the context during completion parsing. So when we do dynamic completion, we can use this context to specify what we need to complete and support more dynamic completion including--flag value