{"action":"closed","issue":{"url":"https://api.github.com/repos/spark/particle-cli/issues/249","repository_url":"https://api.github.com/repos/spark/particle-cli","labels_url":"https://api.github.com/repos/spark/particle-cli/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/spark/particle-cli/issues/249/comments","events_url":"https://api.github.com/repos/spark/particle-cli/issues/249/events","html_url":"https://github.com/spark/particle-cli/issues/249","id":154928392,"number":249,"title":"Spark vs Particle CLI tools, and npm issues","user":{"login":"QCaudron","id":3931931,"avatar_url":"https://avatars.githubusercontent.com/u/3931931?v=3","gravatar_id":"","url":"https://api.github.com/users/QCaudron","html_url":"https://github.com/QCaudron","followers_url":"https://api.github.com/users/QCaudron/followers","following_url":"https://api.github.com/users/QCaudron/following{/other_user}","gists_url":"https://api.github.com/users/QCaudron/gists{/gist_id}","starred_url":"https://api.github.com/users/QCaudron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QCaudron/subscriptions","organizations_url":"https://api.github.com/users/QCaudron/orgs","repos_url":"https://api.github.com/users/QCaudron/repos","events_url":"https://api.github.com/users/QCaudron/events{/privacy}","received_events_url":"https://api.github.com/users/QCaudron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-15T20:27:33Z","updated_at":"2016-05-25T18:58:59Z","closed_at":"2016-05-25T18:58:59Z","body":"A couple of things :\r\n\r\n- It's not clear to me, as a user, whether we should be using spark-cli to deal with Cores, and particle-cli to deal with Photos, or if particle-cli can handle both. The spark-cli repo is deprecated and suggests we use particle-cli instead; however, the vast number of guides and tutorials out there are still pointing to spark-cli. As such, I think this should be make obvious in the docs and here on Github : are we to completely forget spark-cli, even if we're trying to claim Cores ?\r\n- `npm install -g particle-cli` requires sudo rights. Do we necessarily want the CLI tools installed globally, or can we be happy with them installed in the user's local directory, and drop the `-g` that's causing some users confusing when installing ? I'm in the process of helping a user who doesn't have sudo access on her Mac, and the global flag is hence causing the issue to fail. The workaround is to install without `-g` and put the path to `particle.js` into the PATH variable, which can be easily scripted without needing sudo access.\r\n\r\nTL; DR : **can particle-cli be used to claim Cores ?** Let's make it clear somewhere, and perhaps have a note in the docs on installing without sudo access."}}
{"actor":{"display_login":"monkbroc"}}