Open thafner0 opened 1 year ago
This would be great, along with completion
we could really use this for transform
.
@natecook1000 is this something you think would be wanted? I could work on this if you don't think it's too complicated as a first task
At the moment the
custom
case of theCompletionKind
enumeration supports being given a custom closure to generate completions on the command line. However, since the provided closure must be synchronous, it is difficult to incorporate functionality that requires swift's concurrency features. The lack of this functionality prevents certain tasks from being possible with these completions and causes other tasks to be possible, but only in a non-thread safe way. Examples of this include working with databases (such as those managed by Apple's Core Data framework).Example: