Open aqw opened 4 months ago
Agree. Was annoyed by this, too.
https://github.com/psyinfra/onyo/blob/main/onyo/lib/commands.py#L316 suggests a similar but different TODO:
Adding a discard option, that would only affect the current asset. So it's skipping this asset proceeding with the next one instead (if there's any). WDYT, @aqw - is this good enough or would want 4 answers (accept, edit, skip, abort)?
WDYT, @aqw - is this good enough or would want 4 answers (accept, edit, skip, abort)?
I like your 4 answer idea.
accept
(accept and continue)edit
(let me retry this asset)skip
(screw this asset, but I want to keep what have done with previous assets and continue with the rest)abort
(I just want to start over and leave this mess behind)The most minor thought possible, but just as an alternative word, instead of "(e)dit" I want to propose (c)ontinue editing
. "edit" and "e" is the command and the flag of onyo new
, so I like using the word "continue" to differenciate :)
A lot of people stumbled over the formulation "Cancel command (y) or continue editing asset (n)?"
(Ben explained this is done because --yes
).
This phrasing should be updated to something more intuitive when reworking the options (accept, edit, skip, abort)
Let's say I edit an asset, make a change, but decide I don't want to keep it:
I respond
n
that I don't want to accept the changes, but then it takes me back into my editor. An "abort" option would be nice, rather than needing to ctrl-C.Proposed prompt:
Or alternatively