{"action":"created","issue":{"url":"https://api.github.com/repos/Javascipt/Jsome/issues/2","labels_url":"https://api.github.com/repos/Javascipt/Jsome/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Javascipt/Jsome/issues/2/comments","events_url":"https://api.github.com/repos/Javascipt/Jsome/issues/2/events","html_url":"https://github.com/Javascipt/Jsome/issues/2","id":112676985,"number":2,"title":"jsome-cli","user":{"login":"Javascipt","id":3894733,"avatar_url":"https://avatars.githubusercontent.com/u/3894733?v=3","gravatar_id":"","url":"https://api.github.com/users/Javascipt","html_url":"https://github.com/Javascipt","followers_url":"https://api.github.com/users/Javascipt/followers","following_url":"https://api.github.com/users/Javascipt/following{/other_user}","gists_url":"https://api.github.com/users/Javascipt/gists{/gist_id}","starred_url":"https://api.github.com/users/Javascipt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Javascipt/subscriptions","organizations_url":"https://api.github.com/users/Javascipt/orgs","repos_url":"https://api.github.com/users/Javascipt/repos","events_url":"https://api.github.com/users/Javascipt/events{/privacy}","received_events_url":"https://api.github.com/users/Javascipt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-10-21T20:55:04Z","updated_at":"2015-10-22T21:59:38Z","closed_at":null,"body":"I have tried to make a cli to this package to allow the user to print json files directly on the console using a command line, example : \r\n\r\n```bash\r\n $ jsome /path/to/file.json\r\n```\r\n\r\nI have added the bin property on the package.json [here](https://github.com/Javascipt/Jsome/blob/master/package.json#L32), it points to this [file](https://github.com/Javascipt/Jsome/blob/master/bin/cli.js)\r\n\r\nThe issue I have is that after installing the package globally it works on Windows, but not on Linux, I haven't tried it on a Mac OS though. can someone help me with this issue ?"},"comment":{"url":"https://api.github.com/repos/Javascipt/Jsome/issues/comments/150368082","html_url":"https://github.com/Javascipt/Jsome/issues/2#issuecomment-150368082","issue_url":"https://api.github.com/repos/Javascipt/Jsome/issues/2","id":150368082,"user":{"login":"akileez","id":4314979,"avatar_url":"https://avatars.githubusercontent.com/u/4314979?v=3","gravatar_id":"","url":"https://api.github.com/users/akileez","html_url":"https://github.com/akileez","followers_url":"https://api.github.com/users/akileez/followers","following_url":"https://api.github.com/users/akileez/following{/other_user}","gists_url":"https://api.github.com/users/akileez/gists{/gist_id}","starred_url":"https://api.github.com/users/akileez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akileez/subscriptions","organizations_url":"https://api.github.com/users/akileez/orgs","repos_url":"https://api.github.com/users/akileez/repos","events_url":"https://api.github.com/users/akileez/events{/privacy}","received_events_url":"https://api.github.com/users/akileez/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T21:59:38Z","updated_at":"2015-10-22T21:59:38Z","body":"then open the repo in Sublime Text. navigate to bin/cli.js and view it. at the bottom of the screen should be the line endings which the file is set to. if it is not, then go to the menu: `View`, scroll down to: `Line Endings` and check what it is for this file. If Windows switch to Unix. if this is the case you should have to save the file again. If it is Unix, then the conversion is happening somewhere with git. "}}