{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/tsd/issues/196","repository_url":"https://api.github.com/repos/DefinitelyTyped/tsd","labels_url":"https://api.github.com/repos/DefinitelyTyped/tsd/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/tsd/issues/196/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/tsd/issues/196/events","html_url":"https://github.com/DefinitelyTyped/tsd/issues/196","id":98833578,"number":196,"title":"`tsd install` fails without an error if `--save` comes before the definition name","user":{"login":"johnsoft","id":772985,"avatar_url":"https://avatars.githubusercontent.com/u/772985?v=3","gravatar_id":"","url":"https://api.github.com/users/johnsoft","html_url":"https://github.com/johnsoft","followers_url":"https://api.github.com/users/johnsoft/followers","following_url":"https://api.github.com/users/johnsoft/following{/other_user}","gists_url":"https://api.github.com/users/johnsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsoft/subscriptions","organizations_url":"https://api.github.com/users/johnsoft/orgs","repos_url":"https://api.github.com/users/johnsoft/repos","events_url":"https://api.github.com/users/johnsoft/events{/privacy}","received_events_url":"https://api.github.com/users/johnsoft/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DefinitelyTyped/tsd/labels/bug","name":"bug","color":"eb6420"},{"url":"https://api.github.com/repos/DefinitelyTyped/tsd/labels/minor","name":"minor","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-03T20:34:39Z","updated_at":"2016-02-27T19:05:39Z","closed_at":null,"body":"Command I ran:\r\n\r\n    $ tsd install --save lodash\r\n\r\nActual output:\r\n\r\n    -> running install\r\n\r\n    >> written zero files\r\n\r\nExpected output:\r\n\r\n     - lodash / lodash\r\n\r\n    >> running install..\r\n\r\n    >> written 1 file:\r\n\r\n        - lodash/lodash.d.ts\r\n\r\nCommand I should have run:\r\n\r\n    $ tsd install lodash --save\r\n\r\n`tsd` was acting like I passed no options at all. It had me wondering what was wrong with my system for a bit and looking around for cache files to delete. I've never seen a command-line tool be picky about the order of the options like this (besides `find` :smile:). Seems like surprising behavior to me."},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/tsd/issues/comments/189703299","html_url":"https://github.com/DefinitelyTyped/tsd/issues/196#issuecomment-189703299","issue_url":"https://api.github.com/repos/DefinitelyTyped/tsd/issues/196","id":189703299,"user":{"login":"jschaf","id":22385,"avatar_url":"https://avatars.githubusercontent.com/u/22385?v=3","gravatar_id":"","url":"https://api.github.com/users/jschaf","html_url":"https://github.com/jschaf","followers_url":"https://api.github.com/users/jschaf/followers","following_url":"https://api.github.com/users/jschaf/following{/other_user}","gists_url":"https://api.github.com/users/jschaf/gists{/gist_id}","starred_url":"https://api.github.com/users/jschaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschaf/subscriptions","organizations_url":"https://api.github.com/users/jschaf/orgs","repos_url":"https://api.github.com/users/jschaf/repos","events_url":"https://api.github.com/users/jschaf/events{/privacy}","received_events_url":"https://api.github.com/users/jschaf/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T19:05:39Z","updated_at":"2016-02-27T19:05:39Z","body":"Cost me about 15 minutes figuring out why lodash wouldn't install."}}