Project: titanium
Issue TIMOB-17208: CLI: CLI crashes when "ti build -d" and "ti build -A" command is run without path values
titanium build command fails for the flags *-d* and *-A* if there are no path values specified. The behavior of flags are described in following table based on the test result. || command || behavior || | ti build -d | CLI crashes | | ti build --project-dir (if current directory is a project directory) | build success | | ti build --project-dir ( if current directory is not a project directory) | CLI crashes | | | | | ti build -A | CLI crashes | | ti build --android-sdk | build success with default android path | | ti build --android-sdk (without valid android path settings) | Invalid SDK path error is thrown and prompting for new *SDK path* | For more details, please refer the attached screenshots. This is *not a regression* since issue is occurring in CLI 3.2.3 GA as well.
Story points: 3