{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1075","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1075/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1075/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1075/events","html_url":"https://github.com/ipfs/go-ipfs/issues/1075","id":68312015,"number":1075,"title":"Addition of --local flag to [ cat, ls, refs, ... ]","user":{"login":"jbenet","id":138401,"avatar_url":"https://avatars.githubusercontent.com/u/138401?v=3","gravatar_id":"","url":"https://api.github.com/users/jbenet","html_url":"https://github.com/jbenet","followers_url":"https://api.github.com/users/jbenet/followers","following_url":"https://api.github.com/users/jbenet/following{/other_user}","gists_url":"https://api.github.com/users/jbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenet/subscriptions","organizations_url":"https://api.github.com/users/jbenet/orgs","repos_url":"https://api.github.com/users/jbenet/repos","events_url":"https://api.github.com/users/jbenet/events{/privacy}","received_events_url":"https://api.github.com/users/jbenet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/commands","name":"commands","color":"207de5"},{"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/difficulty:%20moderate","name":"difficulty: moderate","color":"bfe5bf"},{"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-14T09:10:49Z","updated_at":"2015-10-11T15:13:13Z","closed_at":null,"body":"It would be nice if we had a `--local` flag that could make `ipfs [ cat, ls, refs, ... ]` return only local objects. This would be good for online tests, and so on.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments/147208633","html_url":"https://github.com/ipfs/go-ipfs/issues/1075#issuecomment-147208633","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1075","id":147208633,"user":{"login":"jbenet","id":138401,"avatar_url":"https://avatars.githubusercontent.com/u/138401?v=3","gravatar_id":"","url":"https://api.github.com/users/jbenet","html_url":"https://github.com/jbenet","followers_url":"https://api.github.com/users/jbenet/followers","following_url":"https://api.github.com/users/jbenet/following{/other_user}","gists_url":"https://api.github.com/users/jbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenet/subscriptions","organizations_url":"https://api.github.com/users/jbenet/orgs","repos_url":"https://api.github.com/users/jbenet/repos","events_url":"https://api.github.com/users/jbenet/events{/privacy}","received_events_url":"https://api.github.com/users/jbenet/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T15:13:13Z","updated_at":"2015-10-11T15:13:13Z","body":"> Should the `--local` flag be available on all commands, or is there a specific subset?\r\n\r\nso far, i think there should be a subset. because it cannot apply to all commands, like, what would these mean?\r\n\r\n```\r\nipfs id --local\r\nipfs swarm peers --local\r\nipfs version --local\r\n```"}}