{ "id": "122571", "key": "TIMOB-15735", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15817", "description": "2014 Sprint 01", "name": "2014 Sprint 01", "archived": true, "released": true, "releaseDate": "2014-01-17" }, { "id": "15819", "description": "2014 Sprint 01 Core", "name": "2014 Sprint 01 Core", "archived": true, "released": true, "releaseDate": "2014-01-17" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-17T01:42:54.000+0000", "created": "2013-11-16T12:47:32.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "CLI", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "41111", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "136540", "key": "TIMOB-17689", "fields": { "summary": "CLI: Hook system shows warning 'bad plugin hook that failed to load' at build time", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-09-15T14:55:32.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "Following our discussion at https://github.com/appcelerator/titanium/issues/71 I'd like to suggest adding a new {{cli:go}} (or whatever we name it) hook that executes before the process arguments are parsed. This will enable hooks to simplify the CLI commands, options and flags like [TiNy](http://github.com/fokkezb/tn) aims to do.", "attachment": [], "flagged": false, "summary": "CLI: New 'cli:go' hook to manipulate incoming arguments", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "CLI 3.2.0 master", "comment": { "comments": [ { "id": "288547", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium CLI master pull request: https://github.com/appcelerator/titanium/pull/94\nTitanium CLI 3.2.x pull request: https://github.com/appcelerator/titanium/pull/95\n\nNOTE: this ticket originally requested a \"cli:pre-argv\" event, but is actually named \"cli:go\".", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-17T00:08:02.000+0000", "updated": "2014-01-17T00:08:02.000+0000" }, { "id": "289132", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with [~cbarber] and verified the fix with\nAppcelerator Studio, build: 3.2.1.201401201818\nTitanium SDK, build:3.2.1.v20140121105646\n├── acs@1.0.11\n├── alloy@1.3.1-beta3\n├── npm@1.3.2\n├── titanium@3.2.1\n└── titanium-code-processor@1.1.0\nnpm -g ls titanium: /usr/local/lib\n└── titanium@3.2.1 (git://github.com/appcelerator/titanium.git#93286e7b263a968cb362cf4e2a367a9b31f4ccb3)\nh5.Actual result\n{code}\n[EVENT-HOOK] cli:go\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-21T21:51:18.000+0000", "updated": "2014-01-21T21:51:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }