{"action":"created","issue":{"url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool/issues/12","repository_url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool","labels_url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool/issues/12/comments","events_url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool/issues/12/events","html_url":"https://github.com/AndiDittrich/NodeMCU-Tool/issues/12","id":166428322,"number":12,"title":"--silent is not completely silent","user":{"login":"remcoder","id":461650,"avatar_url":"https://avatars.githubusercontent.com/u/461650?v=3","gravatar_id":"","url":"https://api.github.com/users/remcoder","html_url":"https://github.com/remcoder","followers_url":"https://api.github.com/users/remcoder/followers","following_url":"https://api.github.com/users/remcoder/following{/other_user}","gists_url":"https://api.github.com/users/remcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/remcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remcoder/subscriptions","organizations_url":"https://api.github.com/users/remcoder/orgs","repos_url":"https://api.github.com/users/remcoder/repos","events_url":"https://api.github.com/users/remcoder/events{/privacy}","received_events_url":"https://api.github.com/users/remcoder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"AndiDittrich","id":1474107,"avatar_url":"https://avatars.githubusercontent.com/u/1474107?v=3","gravatar_id":"","url":"https://api.github.com/users/AndiDittrich","html_url":"https://github.com/AndiDittrich","followers_url":"https://api.github.com/users/AndiDittrich/followers","following_url":"https://api.github.com/users/AndiDittrich/following{/other_user}","gists_url":"https://api.github.com/users/AndiDittrich/gists{/gist_id}","starred_url":"https://api.github.com/users/AndiDittrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndiDittrich/subscriptions","organizations_url":"https://api.github.com/users/AndiDittrich/orgs","repos_url":"https://api.github.com/users/AndiDittrich/repos","events_url":"https://api.github.com/users/AndiDittrich/events{/privacy}","received_events_url":"https://api.github.com/users/AndiDittrich/received_events","type":"User","site_admin":false},"assignees":[{"login":"AndiDittrich","id":1474107,"avatar_url":"https://avatars.githubusercontent.com/u/1474107?v=3","gravatar_id":"","url":"https://api.github.com/users/AndiDittrich","html_url":"https://github.com/AndiDittrich","followers_url":"https://api.github.com/users/AndiDittrich/followers","following_url":"https://api.github.com/users/AndiDittrich/following{/other_user}","gists_url":"https://api.github.com/users/AndiDittrich/gists{/gist_id}","starred_url":"https://api.github.com/users/AndiDittrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndiDittrich/subscriptions","organizations_url":"https://api.github.com/users/AndiDittrich/orgs","repos_url":"https://api.github.com/users/AndiDittrich/repos","events_url":"https://api.github.com/users/AndiDittrich/events{/privacy}","received_events_url":"https://api.github.com/users/AndiDittrich/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool/milestones/4","html_url":"https://github.com/AndiDittrich/NodeMCU-Tool/milestones/v1.7.0","labels_url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool/milestones/4/labels","id":1899690,"number":4,"title":"v1.7.0","description":null,"creator":{"login":"AndiDittrich","id":1474107,"avatar_url":"https://avatars.githubusercontent.com/u/1474107?v=3","gravatar_id":"","url":"https://api.github.com/users/AndiDittrich","html_url":"https://github.com/AndiDittrich","followers_url":"https://api.github.com/users/AndiDittrich/followers","following_url":"https://api.github.com/users/AndiDittrich/following{/other_user}","gists_url":"https://api.github.com/users/AndiDittrich/gists{/gist_id}","starred_url":"https://api.github.com/users/AndiDittrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndiDittrich/subscriptions","organizations_url":"https://api.github.com/users/AndiDittrich/orgs","repos_url":"https://api.github.com/users/AndiDittrich/repos","events_url":"https://api.github.com/users/AndiDittrich/events{/privacy}","received_events_url":"https://api.github.com/users/AndiDittrich/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-07-22T21:41:57Z","updated_at":"2016-07-24T13:59:14Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-07-19T20:31:43Z","updated_at":"2016-07-24T14:01:56Z","closed_at":"2016-07-24T13:59:13Z","body":"I'd like to consume the output of say the fsinfo command with other tools but the `--silent` option doesn't remove all status messages. Here's an example when using the json dump:\r\n\r\n\t$ nodemcu-tool --silent fsinfo --json\r\n\t[NodeMCU-Tool] Project based configuration loaded\r\n\t{\"files\":[{\"name\":\"init.lua\",\"size\":503},{\"name\":\"patterns/clear.lua\",\"size\":88},{\"name\":\"mqttclient.lua\",\"size\":1236},{\"name\":\"patterns/rotate_green.lua\",\"size\":892},{\"name\":\"patterns/rotate_blue.lua\",\"size\":746},{\"name\":\"patterns/green.lua\",\"size\":105},{\"name\":\"patterns/test.lua\",\"size\":470},{\"name\":\"wifi.lua\",\"size\":257},{\"name\":\"patterns/red.lua\",\"size\":106},{\"name\":\"commands/reboot.lua\",\"size\":42},{\"name\":\"patterns/blue.lua\",\"size\":123},{\"name\":\"commands/ip.lua\",\"size\":24},{\"name\":\"utils.lua\",\"size\":4502},{\"name\":\"animator.lua\",\"size\":1276},{\"name\":\"main.lua\",\"size\":138},{\"name\":\"httpserver.lua\",\"size\":2059},{\"name\":\"commands/test.lua\",\"size\":59}],\"meta\":{\"remaining\":3341,\"used\":18,\"total\":3360}}\r\n\r\nAs a temporary workaround I'm using `tail` to skip the first line:\r\n\r\n    nodemcu-tool fsinfo --json | tail -n +2 | ..etc"},"comment":{"url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool/issues/comments/234779022","html_url":"https://github.com/AndiDittrich/NodeMCU-Tool/issues/12#issuecomment-234779022","issue_url":"https://api.github.com/repos/AndiDittrich/NodeMCU-Tool/issues/12","id":234779022,"user":{"login":"AndiDittrich","id":1474107,"avatar_url":"https://avatars.githubusercontent.com/u/1474107?v=3","gravatar_id":"","url":"https://api.github.com/users/AndiDittrich","html_url":"https://github.com/AndiDittrich","followers_url":"https://api.github.com/users/AndiDittrich/followers","following_url":"https://api.github.com/users/AndiDittrich/following{/other_user}","gists_url":"https://api.github.com/users/AndiDittrich/gists{/gist_id}","starred_url":"https://api.github.com/users/AndiDittrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndiDittrich/subscriptions","organizations_url":"https://api.github.com/users/AndiDittrich/orgs","repos_url":"https://api.github.com/users/AndiDittrich/repos","events_url":"https://api.github.com/users/AndiDittrich/events{/privacy}","received_events_url":"https://api.github.com/users/AndiDittrich/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T14:01:56Z","updated_at":"2016-07-24T14:01:56Z","body":"Fix is added to 1.7.0-BETA1.\r\n\r\ni've modified the overall log-management of NodeMCU-Tool by using [logging-facility](https://www.npmjs.com/package/logging-facility)\r\n\r\nstatus messages are completely suppressed by using the `--silent` or `--json` flag"}}
{"actor":{"display_login":"AndiDittrich"}}