{"action":"created","issue":{"url":"https://api.github.com/repos/RIPE-NCC/ripe-atlas-tools/issues/103","labels_url":"https://api.github.com/repos/RIPE-NCC/ripe-atlas-tools/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/RIPE-NCC/ripe-atlas-tools/issues/103/comments","events_url":"https://api.github.com/repos/RIPE-NCC/ripe-atlas-tools/issues/103/events","html_url":"https://github.com/RIPE-NCC/ripe-atlas-tools/issues/103","id":117302643,"number":103,"title":"Use --verbose and --colour options appropriately","user":{"login":"robert-kisteleki","id":7619606,"avatar_url":"https://avatars.githubusercontent.com/u/7619606?v=3","gravatar_id":"","url":"https://api.github.com/users/robert-kisteleki","html_url":"https://github.com/robert-kisteleki","followers_url":"https://api.github.com/users/robert-kisteleki/followers","following_url":"https://api.github.com/users/robert-kisteleki/following{/other_user}","gists_url":"https://api.github.com/users/robert-kisteleki/gists{/gist_id}","starred_url":"https://api.github.com/users/robert-kisteleki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robert-kisteleki/subscriptions","organizations_url":"https://api.github.com/users/robert-kisteleki/orgs","repos_url":"https://api.github.com/users/robert-kisteleki/repos","events_url":"https://api.github.com/users/robert-kisteleki/events{/privacy}","received_events_url":"https://api.github.com/users/robert-kisteleki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-17T07:51:53Z","updated_at":"2015-11-17T14:10:07Z","closed_at":null,"body":"At the moment there's an amount of extra text besides the output. This should only appear if the user actually asks for it"},"comment":{"url":"https://api.github.com/repos/RIPE-NCC/ripe-atlas-tools/issues/comments/157379754","html_url":"https://github.com/RIPE-NCC/ripe-atlas-tools/issues/103#issuecomment-157379754","issue_url":"https://api.github.com/repos/RIPE-NCC/ripe-atlas-tools/issues/103","id":157379754,"user":{"login":"danielquinn","id":218205,"avatar_url":"https://avatars.githubusercontent.com/u/218205?v=3","gravatar_id":"","url":"https://api.github.com/users/danielquinn","html_url":"https://github.com/danielquinn","followers_url":"https://api.github.com/users/danielquinn/followers","following_url":"https://api.github.com/users/danielquinn/following{/other_user}","gists_url":"https://api.github.com/users/danielquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/danielquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielquinn/subscriptions","organizations_url":"https://api.github.com/users/danielquinn/orgs","repos_url":"https://api.github.com/users/danielquinn/repos","events_url":"https://api.github.com/users/danielquinn/events{/privacy}","received_events_url":"https://api.github.com/users/danielquinn/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T14:10:07Z","updated_at":"2015-11-17T14:10:07Z","body":"Until now I've avoided use of a `--colour` flag by making sure that all use of colour is wrapped in a check for `is_tty()`.  That way piping the output through a program won't inadvertently dump the formatting data as well.  I've considered a global `--no-colour` flag though, but that's actually kind of a pain in the ass so I've not prioritised it.  The easiest way to implement this would be to have the user set it in their config rather than handling `--no-colour` for every command.\r\n\r\nAs for --verbose, I think this is more of a personal call: what constitutes part of the standard output and what doesn't?  Typically, verbosity isn't about the format of the output so much as the debugging/logging of what's going on behind the scenes.  The use of the header in reports for example: that's not really a question of verbosity as much as user preference.  We're building a user interface here, not just a input/output tool, so some of this stuff should be considered standard.\r\n\r\nTake `ls` or `ps` for example.  Both include a header line that's just expected to be part of the output.  More elaborate tools like `git` and Gentoo's `equery` or `portage` also have formatting around the tabular data that just makes sense in that context.  I'd hate to remove text that's basically formatting for human readability by default.\r\n\r\nHowever, if you'd like to add something like a `--no-header`, `--no-footer` or even `--data-only` or something, that can probably be arranged with little effort."}}