Not another library, but a solution to the problem you mention. Capture each command line, even one-offs, in scripts. Then later you can reuse that script without having to figure out the command line options again.
You could say this is just shifting the problem to a new place: you now have to relocate the old scripts you wrote. Well, that's a much easier problem.
You could say this is just shifting the problem to a new place: you now have to relocate the old scripts you wrote. Well, that's a much easier problem.