{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1363","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1363/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1363/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1363/events","html_url":"https://github.com/rust-lang/cargo/issues/1363","id":59342299,"number":1363,"title":"Add global --[no-]-color flags","user":{"login":"jimmycuadra","id":122457,"avatar_url":"https://avatars.githubusercontent.com/u/122457?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmycuadra","html_url":"https://github.com/jimmycuadra","followers_url":"https://api.github.com/users/jimmycuadra/followers","following_url":"https://api.github.com/users/jimmycuadra/following{/other_user}","gists_url":"https://api.github.com/users/jimmycuadra/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmycuadra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmycuadra/subscriptions","organizations_url":"https://api.github.com/users/jimmycuadra/orgs","repos_url":"https://api.github.com/users/jimmycuadra/repos","events_url":"https://api.github.com/users/jimmycuadra/events{/privacy}","received_events_url":"https://api.github.com/users/jimmycuadra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/cargo/labels/A-configuration","name":"A-configuration","color":"fbca04"},{"url":"https://api.github.com/repos/rust-lang/cargo/labels/E-easy","name":"E-easy","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-28T13:47:13Z","updated_at":"2015-06-27T03:34:47Z","closed_at":null,"body":"This is a request to add `--color` and `--no-color` command line flags to Cargo, to explicitly enable and disable ANSI colors in the CLI's output.\r\n\r\nA use case for `--color` is when configuring Vim to run Cargo as its build program, invoked with Vim's `:make` command. This command does not allocate a TTY, which results in colorless output from Cargo. With a `--color` flag, Vim could be configured to pass the flag to all Cargo subcommands to produce colored output.\r\n\r\nI don't have a specific use case for --no-color, but it's pretty standard to provide on/off variants for boolean flags."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/115952725","html_url":"https://github.com/rust-lang/cargo/issues/1363#issuecomment-115952725","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1363","id":115952725,"user":{"login":"Wmaxlees","id":10747067,"avatar_url":"https://avatars.githubusercontent.com/u/10747067?v=3","gravatar_id":"","url":"https://api.github.com/users/Wmaxlees","html_url":"https://github.com/Wmaxlees","followers_url":"https://api.github.com/users/Wmaxlees/followers","following_url":"https://api.github.com/users/Wmaxlees/following{/other_user}","gists_url":"https://api.github.com/users/Wmaxlees/gists{/gist_id}","starred_url":"https://api.github.com/users/Wmaxlees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wmaxlees/subscriptions","organizations_url":"https://api.github.com/users/Wmaxlees/orgs","repos_url":"https://api.github.com/users/Wmaxlees/repos","events_url":"https://api.github.com/users/Wmaxlees/events{/privacy}","received_events_url":"https://api.github.com/users/Wmaxlees/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T03:34:47Z","updated_at":"2015-06-27T03:34:47Z","body":"My auto `cargo test` running program, [trust](https://github.com/Wmaxlees/trust) would benefit from color as well"}}