{"action":"created","issue":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/132","repository_url":"https://api.github.com/repos/OpenAPITools/openapi-generator","labels_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/132/comments","events_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/132/events","html_url":"https://github.com/OpenAPITools/openapi-generator/issues/132","id":325340673,"number":132,"title":"CLI: Exit status should be 1 when no/wrong arguments are passed","user":{"login":"jmini","id":1222165,"avatar_url":"https://avatars0.githubusercontent.com/u/1222165?v=4","gravatar_id":"","url":"https://api.github.com/users/jmini","html_url":"https://github.com/jmini","followers_url":"https://api.github.com/users/jmini/followers","following_url":"https://api.github.com/users/jmini/following{/other_user}","gists_url":"https://api.github.com/users/jmini/gists{/gist_id}","starred_url":"https://api.github.com/users/jmini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmini/subscriptions","organizations_url":"https://api.github.com/users/jmini/orgs","repos_url":"https://api.github.com/users/jmini/repos","events_url":"https://api.github.com/users/jmini/events{/privacy}","received_events_url":"https://api.github.com/users/jmini/received_events","type":"User","site_admin":false},"labels":[{"id":931403170,"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/labels/Enhancement:%20CI/Test","name":"Enhancement: CI/Test","color":"e5ffe5","default":false},{"id":934555241,"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/labels/OpenAPI%20CLI","name":"OpenAPI CLI","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-22T15:13:56Z","updated_at":"2018-05-23T04:53:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Inspired by #124 \r\n\r\nWhen the cli is run with wrong or no arguments, it returns the text:\r\n```\r\nAvailable languages (generators): [ada, ada-server, android, apache2, apex, aspnetcore, bash, clojure, cwiki, cpp-qt5, cpp-pistache-server, cpp-restbed-server, cpp-restsdk, cpp-tizen, csharp, csharp-dotnet2, csharp-nancyfx, dart, eiffel, elixir, elm, erlang-client, erlang-server, flash, scala-finch, go, go-server, groovy, kotlin, kotlin-server, haskell-http-client, haskell, java, jaxrs-cxf-client, java-inflector, java-msf4j, java-pkmst, java-play-framework, java-undertow-server, java-vertx, jaxrs-cxf, jaxrs-cxf-cdi, jaxrs-jersey, jaxrs-resteasy, jaxrs-resteasy-eap, jaxrs-spec, javascript, javascript-closure-angular, jmeter, lua, nodejs-server, objc, openapi, openapi-yaml, perl, php, php-lumen, php-slim, php-silex, php-symfony, php-ze-ph, powershell, python, python-flask, r, ruby, ruby-on-rails, ruby-sinatra, rust, rust-server, scalatra, scala-akka, scala-httpclient, scala-gatling, scala-lagom-server, scalaz, spring, dynamic-html, html, html2, swift2-deprecated, swift3, swift4, typescript-angular, typescript-angularjs, typescript-aurelia, typescript-fetch, typescript-inversify, typescript-jquery, typescript-node]\r\n```\r\n\r\nTake this bash script:\r\n```\r\n#!/bin/sh\r\n\r\njava -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar\r\nSTATUS=\"${?}\"\r\necho \"Status: ${STATUS}\"\r\n```\r\n\r\nThe error status should be `1` and not `0`\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/comments/391219836","html_url":"https://github.com/OpenAPITools/openapi-generator/issues/132#issuecomment-391219836","issue_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/132","id":391219836,"user":{"login":"jmini","id":1222165,"avatar_url":"https://avatars0.githubusercontent.com/u/1222165?v=4","gravatar_id":"","url":"https://api.github.com/users/jmini","html_url":"https://github.com/jmini","followers_url":"https://api.github.com/users/jmini/followers","following_url":"https://api.github.com/users/jmini/following{/other_user}","gists_url":"https://api.github.com/users/jmini/gists{/gist_id}","starred_url":"https://api.github.com/users/jmini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmini/subscriptions","organizations_url":"https://api.github.com/users/jmini/orgs","repos_url":"https://api.github.com/users/jmini/repos","events_url":"https://api.github.com/users/jmini/events{/privacy}","received_events_url":"https://api.github.com/users/jmini/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T04:53:33Z","updated_at":"2018-05-23T04:53:33Z","author_association":"CONTRIBUTOR","body":"PRs:\r\n\r\n* The return code is implemented as part of #57.\r\n* Fixing `bin/run-all-petstore.sh` is #133."}}
{"actor":{"display_login":"jmini"}}