{"action":"created","issue":{"url":"https://api.github.com/repos/lfex/ltool/issues/5","labels_url":"https://api.github.com/repos/lfex/ltool/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/lfex/ltool/issues/5/comments","events_url":"https://api.github.com/repos/lfex/ltool/issues/5/events","html_url":"https://github.com/lfex/ltool/issues/5","id":90295622,"number":5,"title":"rebar3 plugins","user":{"login":"arpunk","id":11342,"avatar_url":"https://avatars.githubusercontent.com/u/11342?v=3","gravatar_id":"","url":"https://api.github.com/users/arpunk","html_url":"https://github.com/arpunk","followers_url":"https://api.github.com/users/arpunk/followers","following_url":"https://api.github.com/users/arpunk/following{/other_user}","gists_url":"https://api.github.com/users/arpunk/gists{/gist_id}","starred_url":"https://api.github.com/users/arpunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpunk/subscriptions","organizations_url":"https://api.github.com/users/arpunk/orgs","repos_url":"https://api.github.com/users/arpunk/repos","events_url":"https://api.github.com/users/arpunk/events{/privacy}","received_events_url":"https://api.github.com/users/arpunk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-23T05:53:52Z","updated_at":"2015-06-26T19:06:44Z","closed_at":null,"body":"With the advent of the new set of plugins we should think of how are we going to wrap the rebar3 interface.\r\n\r\nSo far I've been able to use both of the rebar3 plugins @oubiwann wrote and they work very nice, I even giggled. We could also start adding the REPL and testing (with the new test runner) using the scaffolded code we can from `rebar3-lfe-version`.\r\n\r\nWe could use ltool as our main project tool but leaving the implementation details to rebar3. ltool could then wrap along lcfg for providing a higher level configuration entry point for interfacing with `rebar.config` if we want to go that road.\r\n\r\nAlso, I was not aware that most of the thinking was done already by @oubiwann (https://github.com/lfex/ltool#separating-cli-and-library-), however I think pure LFE (even as means of an escript package) is preferred to bash.\r\n\r\nWith rebar3 we can easily create an escript package of ltool with all the goodies inside which then would download rebar3 in case of not being found, deal with `$HOME/.lfe/{lib/bin}` installations, interface with rebar3 using lcfg as in: lfcg -> rebar.config -> rebar3\r\n\r\nWhat are your thoughts?\r\n\r\n/cc @rvirding "},"comment":{"url":"https://api.github.com/repos/lfex/ltool/issues/comments/115840665","html_url":"https://github.com/lfex/ltool/issues/5#issuecomment-115840665","issue_url":"https://api.github.com/repos/lfex/ltool/issues/5","id":115840665,"user":{"login":"oubiwann","id":894251,"avatar_url":"https://avatars.githubusercontent.com/u/894251?v=3","gravatar_id":"","url":"https://api.github.com/users/oubiwann","html_url":"https://github.com/oubiwann","followers_url":"https://api.github.com/users/oubiwann/followers","following_url":"https://api.github.com/users/oubiwann/following{/other_user}","gists_url":"https://api.github.com/users/oubiwann/gists{/gist_id}","starred_url":"https://api.github.com/users/oubiwann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oubiwann/subscriptions","organizations_url":"https://api.github.com/users/oubiwann/orgs","repos_url":"https://api.github.com/users/oubiwann/repos","events_url":"https://api.github.com/users/oubiwann/events{/privacy}","received_events_url":"https://api.github.com/users/oubiwann/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T19:06:44Z","updated_at":"2015-06-26T19:06:44Z","body":"I think I would prefer rebar3 plugins being a \"loose confederation\" -- lfetool can define the \"official\" rebar3/LFE plugins, but adding/integrating would be as easy as adding a new plugin dep, without the need to update the codebase, etc. I tend to avoid monolithic ventures, thus my bias ;-)"}}