Find the "best" arguments for running a command by analyzing the output.