[TIMOB-16675] CLI: create command --url option is required when not prompting
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-03-24T22:17:28.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2014 Sprint 06, 2014 Sprint 06 Tooling, Release 3.2.3, Release 3.3.0 |
| Components | CLI, Tooling |
| Labels | qe-closed-3.2.3, qe-testadded |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2014-03-24T02:16:12.000+0000 |
| Updated | 2014-03-24T23:38:36.000+0000 |
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5504 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5516
To test: 1) Run the command: ti create -p android,mobileweb,ios -t app --id "com.footest" --name "footest" --workspace-dir . --no-prompt 2) Should error saying --url is required 3) Apply fix 4) Rerun step #1 5) Project should be created Note: you can omit the --workspace-dir if you set a app.workspace in the cli config.
I tested the above command and the project was created with no errors. Appcelerator Studio, build: 3.2.3.201403190645 Titanium SDK, build: 3.2.3.v20140324151531 Node.JS Version: v0.10.13 NPM Version: 1.3.2 ├── acs@1.0.14 ├── alloy@1.3.1 ├── npm@1.3.2 ├── titanium@3.2.1 └── titanium-code-processor@1.1.0