I can now see what you meant by completion not being left-to-right solvable. Thanks for taking the time to lay out a clear example.
While completion isn't be solvable in general, surly we can agree that its usefulness (when solvable) merits making it more readily available to users.
Having the shell implementation automatically deduce suggestions from the command itself (when available/possible) would go a long way towards increasing availability in my opinion.
I can't complete:
Because the entire set of CLI commands isn't simple left-to-right solveable.However, if I do:
That means I'm outputting one file with metadata, output.mp4, and one file without it, output.ogv. So the flag is conditionally enabled or disabled.