create the cli obj before calling parseCommand Upstream-commit: 5c6d54073f045d70c961245aee26455deac86177 Component: engine