{"action":"created","issue":{"url":"https://api.github.com/repos/robotology/yarp/issues/693","repository_url":"https://api.github.com/repos/robotology/yarp","labels_url":"https://api.github.com/repos/robotology/yarp/issues/693/labels{/name}","comments_url":"https://api.github.com/repos/robotology/yarp/issues/693/comments","events_url":"https://api.github.com/repos/robotology/yarp/issues/693/events","html_url":"https://github.com/robotology/yarp/issues/693","id":136653206,"number":693,"title":"Create a yarp module template using yarp companion  ","user":{"login":"apaikan","id":4293456,"avatar_url":"https://avatars.githubusercontent.com/u/4293456?v=3","gravatar_id":"","url":"https://api.github.com/users/apaikan","html_url":"https://github.com/apaikan","followers_url":"https://api.github.com/users/apaikan/followers","following_url":"https://api.github.com/users/apaikan/following{/other_user}","gists_url":"https://api.github.com/users/apaikan/gists{/gist_id}","starred_url":"https://api.github.com/users/apaikan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apaikan/subscriptions","organizations_url":"https://api.github.com/users/apaikan/orgs","repos_url":"https://api.github.com/users/apaikan/repos","events_url":"https://api.github.com/users/apaikan/events{/privacy}","received_events_url":"https://api.github.com/users/apaikan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotology/yarp/labels/Component:%20yarp%20(command%20line%20tool)","name":"Component: yarp (command line tool)","color":"02d7e1"},{"url":"https://api.github.com/repos/robotology/yarp/labels/Status:%20IFI%20Day","name":"Status: IFI Day","color":"ededed"},{"url":"https://api.github.com/repos/robotology/yarp/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-26T10:12:52Z","updated_at":"2016-02-29T08:48:07Z","closed_at":null,"body":"Up to now yarp companion (e.g., `yarp cmake`) allows creating only a yarp cmake template.  \r\nIt would be useful to create a complete yarp module template (i.e., rfmodule, module xml file, cmake with installation,...) using yarp companion. \r\n\r\nsuggestions: \r\n- `$ yarp  create module` \r\n- `$ yarp module`\r\n- ?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/robotology/yarp/issues/comments/190106892","html_url":"https://github.com/robotology/yarp/issues/693#issuecomment-190106892","issue_url":"https://api.github.com/repos/robotology/yarp/issues/693","id":190106892,"user":{"login":"barbalberto","id":4061020,"avatar_url":"https://avatars.githubusercontent.com/u/4061020?v=3","gravatar_id":"","url":"https://api.github.com/users/barbalberto","html_url":"https://github.com/barbalberto","followers_url":"https://api.github.com/users/barbalberto/followers","following_url":"https://api.github.com/users/barbalberto/following{/other_user}","gists_url":"https://api.github.com/users/barbalberto/gists{/gist_id}","starred_url":"https://api.github.com/users/barbalberto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbalberto/subscriptions","organizations_url":"https://api.github.com/users/barbalberto/orgs","repos_url":"https://api.github.com/users/barbalberto/repos","events_url":"https://api.github.com/users/barbalberto/events{/privacy}","received_events_url":"https://api.github.com/users/barbalberto/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T08:48:07Z","updated_at":"2016-02-29T08:48:07Z","body":"If this is meant only for creation, I guess\r\n\r\n* `yarp create module` (create a module skeleton)\r\n* `yarp create module-with-idl` (create a module skeleton with idl support)\r\n* `yarp create cmake` (`yarp cmake`)\r\n* `yarp create device` (create a device skeleton)\r\n* `yarp create carrier` (create a carrier skeleton)\r\n\r\nis more clear that this command is creating something.\r\n\r\n\r\nIf we think to have also something like:\r\n* `yarp project list`\r\n* `yarp project install [MyProject]`\r\n* `yarp project configure [MyProject] for robot [robotName]`   (just shooting in the dark, but could be nice)\r\n\r\n\r\nThen for creating new stuff the command could be:\r\n* `yarp project create module` (create a module skeleton)\r\n* `yarp project create module-with-idl` (create a module skeleton with idl support)\r\n* `yarp project create cmake` (`yarp cmake`)\r\n\r\nA bit more verbose but more understandable. The more the command is self-explanatory, the less documentation needs to be verbose."}}