[PATCH v4 5/5] programs/cmd: Separate IF command parsing from execution.