CLI chooseEntries

This commit is contained in:
2021-06-27 19:00:35 -06:00
parent 7cfdb4c002
commit dff01d03c8
3 changed files with 45 additions and 15 deletions

View File

@@ -83,7 +83,7 @@
&mut lastCollector
(lambda []
(set lastChangeSet (the ChangeSet (Reflect.callMethod null command.handler collectedArgs)))
(ui.handleChanges lastChangeSet))]
(ui.handleChanges archive lastChangeSet))]
// To facilitate asynchronous arg input via UI, we need to construct an insanely complicated nested callback to give the UI
(doFor arg (reversed command.args)
(set lastCollector (_composeArgCollector collectedArgs arg lastCollector)))