{"action":"opened","issue":{"url":"https://api.github.com/repos/getkirby/cli/issues/24","repository_url":"https://api.github.com/repos/getkirby/cli","labels_url":"https://api.github.com/repos/getkirby/cli/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/getkirby/cli/issues/24/comments","events_url":"https://api.github.com/repos/getkirby/cli/issues/24/events","html_url":"https://github.com/getkirby/cli/issues/24","id":155783847,"number":24,"title":"Install Plugin from Subdirectory","user":{"login":"florianpircher","id":3776198,"avatar_url":"https://avatars.githubusercontent.com/u/3776198?v=3","gravatar_id":"","url":"https://api.github.com/users/florianpircher","html_url":"https://github.com/florianpircher","followers_url":"https://api.github.com/users/florianpircher/followers","following_url":"https://api.github.com/users/florianpircher/following{/other_user}","gists_url":"https://api.github.com/users/florianpircher/gists{/gist_id}","starred_url":"https://api.github.com/users/florianpircher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianpircher/subscriptions","organizations_url":"https://api.github.com/users/florianpircher/orgs","repos_url":"https://api.github.com/users/florianpircher/repos","events_url":"https://api.github.com/users/florianpircher/events{/privacy}","received_events_url":"https://api.github.com/users/florianpircher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-19T16:47:54Z","updated_at":"2016-05-19T16:47:54Z","closed_at":null,"body":"The current implementation of the `kirby plugin:install` command requires the plugin as well as the package.json to be located at the root level of a git repository.\r\n\r\nSome plugins require other components (like snippets, blueprints, widgets, …) and are therefore located in a subdirectory of the git repository.\r\n\r\nIt would be nice to install such plugins by specifying the full path to the plugin.\r\n\r\n```bash\r\nkirby plugin:install Addpixel/KirbyComments/comments # does not work\r\n```\r\n\r\nFor testing proposes I have released [v1.1.1](https://github.com/Addpixel/KirbyComments/releases/tag/1.1.1) of my Kirby Comments plugin, which now contains the plugin as well as the package.json in the ./comments/ directory."}}