{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/gulp-cli/issues/57","repository_url":"https://api.github.com/repos/gulpjs/gulp-cli","labels_url":"https://api.github.com/repos/gulpjs/gulp-cli/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/gulp-cli/issues/57/comments","events_url":"https://api.github.com/repos/gulpjs/gulp-cli/issues/57/events","html_url":"https://github.com/gulpjs/gulp-cli/issues/57","id":130179018,"number":57,"title":"Apply --depth flag to --tasks-json flag output","user":{"login":"phated","id":992373,"avatar_url":"https://avatars.githubusercontent.com/u/992373?v=3","gravatar_id":"","url":"https://api.github.com/users/phated","html_url":"https://github.com/phated","followers_url":"https://api.github.com/users/phated/followers","following_url":"https://api.github.com/users/phated/following{/other_user}","gists_url":"https://api.github.com/users/phated/gists{/gist_id}","starred_url":"https://api.github.com/users/phated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phated/subscriptions","organizations_url":"https://api.github.com/users/phated/orgs","repos_url":"https://api.github.com/users/phated/repos","events_url":"https://api.github.com/users/phated/events{/privacy}","received_events_url":"https://api.github.com/users/phated/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gulpjs/gulp-cli/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gulpjs/gulp-cli/milestones/2","html_url":"https://github.com/gulpjs/gulp-cli/milestones/1.3.0","labels_url":"https://api.github.com/repos/gulpjs/gulp-cli/milestones/2/labels","id":1554180,"number":2,"title":"1.3.0","description":"","creator":{"login":"phated","id":992373,"avatar_url":"https://avatars.githubusercontent.com/u/992373?v=3","gravatar_id":"","url":"https://api.github.com/users/phated","html_url":"https://github.com/phated","followers_url":"https://api.github.com/users/phated/followers","following_url":"https://api.github.com/users/phated/following{/other_user}","gists_url":"https://api.github.com/users/phated/gists{/gist_id}","starred_url":"https://api.github.com/users/phated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phated/subscriptions","organizations_url":"https://api.github.com/users/phated/orgs","repos_url":"https://api.github.com/users/phated/repos","events_url":"https://api.github.com/users/phated/events{/privacy}","received_events_url":"https://api.github.com/users/phated/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-01-31T20:43:54Z","updated_at":"2016-01-31T20:44:02Z","due_on":null,"closed_at":null},"comments":27,"created_at":"2016-01-31T20:42:31Z","updated_at":"2016-02-10T13:48:35Z","closed_at":null,"body":"In 1.2.0, @sttk added a `--depth` flag to gulp-cli; However, we didn't apply it to the `--tasks-json` flag to reduce the exponential growth as described in https://github.com/gulpjs/gulp/issues/1033\r\n\r\n@sttk If you or anyone else would like to expand on the functionality you added for `--depth` and apply it to `--tasks-json`, that would be super helpful."},"comment":{"url":"https://api.github.com/repos/gulpjs/gulp-cli/issues/comments/182384173","html_url":"https://github.com/gulpjs/gulp-cli/issues/57#issuecomment-182384173","issue_url":"https://api.github.com/repos/gulpjs/gulp-cli/issues/57","id":182384173,"user":{"login":"sttk","id":8656098,"avatar_url":"https://avatars.githubusercontent.com/u/8656098?v=3","gravatar_id":"","url":"https://api.github.com/users/sttk","html_url":"https://github.com/sttk","followers_url":"https://api.github.com/users/sttk/followers","following_url":"https://api.github.com/users/sttk/following{/other_user}","gists_url":"https://api.github.com/users/sttk/gists{/gist_id}","starred_url":"https://api.github.com/users/sttk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sttk/subscriptions","organizations_url":"https://api.github.com/users/sttk/orgs","repos_url":"https://api.github.com/users/sttk/repos","events_url":"https://api.github.com/users/sttk/events{/privacy}","received_events_url":"https://api.github.com/users/sttk/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T13:48:35Z","updated_at":"2016-02-10T13:48:35Z","body":"About option adding or naming, I think we should consider the option of unsorting top tasks together, which is proposed by @erikkemperman in #50. This helps users to check and comprehend tasks just as they wrote.\r\n\r\nI intended to add an option value `--tasks=unsort` for this, because sorting top tasks is not needed for `--tasks-json`."}}