{"action":"created","issue":{"url":"https://api.github.com/repos/technekes/nib/issues/69","repository_url":"https://api.github.com/repos/technekes/nib","labels_url":"https://api.github.com/repos/technekes/nib/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/technekes/nib/issues/69/comments","events_url":"https://api.github.com/repos/technekes/nib/issues/69/events","html_url":"https://github.com/technekes/nib/pull/69","id":161003018,"number":69,"title":"Add additional description for complex commands","user":{"login":"johnallen3d","id":184915,"avatar_url":"https://avatars.githubusercontent.com/u/184915?v=3","gravatar_id":"","url":"https://api.github.com/users/johnallen3d","html_url":"https://github.com/johnallen3d","followers_url":"https://api.github.com/users/johnallen3d/followers","following_url":"https://api.github.com/users/johnallen3d/following{/other_user}","gists_url":"https://api.github.com/users/johnallen3d/gists{/gist_id}","starred_url":"https://api.github.com/users/johnallen3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnallen3d/subscriptions","organizations_url":"https://api.github.com/users/johnallen3d/orgs","repos_url":"https://api.github.com/users/johnallen3d/repos","events_url":"https://api.github.com/users/johnallen3d/events{/privacy}","received_events_url":"https://api.github.com/users/johnallen3d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-18T02:42:36Z","updated_at":"2016-06-18T17:28:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/technekes/nib/pulls/69","html_url":"https://github.com/technekes/nib/pull/69","diff_url":"https://github.com/technekes/nib/pull/69.diff","patch_url":"https://github.com/technekes/nib/pull/69.patch"},"body":"Commands like `console` and `setup` support overrides and hooks. In order to make that more clear this commit adds a `.long_description` field to `./config/commands.json` and exposes that in the command specific help (ie. `nib console --help`).\r\n\r\nAfter this change help for `console` and `setup` render as such:\r\n\r\n```\r\n❯ nibdev console --help\r\nUsage: nib console [SERVICE]\r\n\r\nStart a REPL session for the given service\r\n\r\nThis command will try to detect the applications environment (ie. rails console or bundle console)\r\nand start the most appropriate REPL possible. It's possible to directly override this behaviour by\r\nsupplying an executable file at $pwd/bin/console.\r\n\r\nOptions:\r\n  -e, --env   Environment name (default: development)\r\n  -h          Print usage\r\n\r\nServices:\r\n  - app\r\n```\r\n\r\n```\r\n❯ nibdev setup --help\r\nUsage: nib setup [SERVICE]\r\n\r\nRuns application specific setup for the given service\r\n\r\nBy default the setup command will execute 'bundle install && rake db:create db:migrate'.\r\n\r\nThis behavior can be overriden by providing an executable file in the project at $pwd/bin/setup.\r\nAdditionally the setup process can be augmented by providing either $pwd/bin/setup.before or\r\n$pwd/bin/setup.after. This allows for extending the default behavior without having to redefine it.\r\n\r\nServices:\r\n  - app\r\n```"},"comment":{"url":"https://api.github.com/repos/technekes/nib/issues/comments/226954442","html_url":"https://github.com/technekes/nib/pull/69#issuecomment-226954442","issue_url":"https://api.github.com/repos/technekes/nib/issues/69","id":226954442,"user":{"login":"johnallen3d","id":184915,"avatar_url":"https://avatars.githubusercontent.com/u/184915?v=3","gravatar_id":"","url":"https://api.github.com/users/johnallen3d","html_url":"https://github.com/johnallen3d","followers_url":"https://api.github.com/users/johnallen3d/followers","following_url":"https://api.github.com/users/johnallen3d/following{/other_user}","gists_url":"https://api.github.com/users/johnallen3d/gists{/gist_id}","starred_url":"https://api.github.com/users/johnallen3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnallen3d/subscriptions","organizations_url":"https://api.github.com/users/johnallen3d/orgs","repos_url":"https://api.github.com/users/johnallen3d/repos","events_url":"https://api.github.com/users/johnallen3d/events{/privacy}","received_events_url":"https://api.github.com/users/johnallen3d/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T17:28:49Z","updated_at":"2016-06-18T17:28:49Z","body":"Also, it occurs to me now that we were talking about adding a note in `nib help` next to commands w/ long description to see `nib [command] --help` for additional details. I'll take a look at adding that."}}
{"actor":{"display_login":"johnallen3d"}}