Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11996] CLI should exit with code on error/success

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2012-12-07T21:31:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelscli, feature
ReporterChristian Sullivan
AssigneeChris Barber
Created2012-12-07T20:59:15.000+0000
Updated2017-03-21T22:47:59.000+0000

Description

CLI should exit with standard codes on error/success process.exit([code]) Success by default processes exit with code "0" which is an acceptable success code already. EXAMPLE USAGE: External libraries calling the cli via child process. This will help identify error types.

Comments

  1. Chris Barber 2012-12-07

    Dupe of TIMOB-8887
  2. Lee Morris 2017-03-21

    Closing ticket as duplicate with reference to the above comments.

JSON Source