openapi-generator/bin/openapi3
Jim Schubert 8df3e54873 Move bash argv opt to end of ags line in scripts (#124)
The $@ option in bash doesn't make sense to come before `generate`
because the only option we can pass before generate cli usage is `help`.

System properties can be passed via JAVA_OPTS, so there's not really a
need for any intermediaries in the command line construction.

Having $@ at the end of the arguments list allows maintainers and users
inspecting options to quickly pass new options to a script. For example,

```
./bin/aspnetcore-petstore.sh --additional-properties sourceFolder=asdf
```

For command line arguments that may appear more than once in the
arguments list, this change doesn't provide any rules about overwriting
values that may exist (hard-coded) in the script. That is, in the
example above, if aspnetcore-petstore.sh already includes the
sourceFolder set to a different value, the "winning" value is up to the
options parser and openapi-generator-cli implementation.
2018-05-22 15:18:52 +08:00
..
security Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
akka-scala-petstore.sh Add echo line at the beginning of each sh script (#202) 2018-04-23 09:58:45 +02:00
android-petstore-all.sh Update default value, fix example value (#370) 2018-05-08 19:51:15 +08:00
android-petstore-httpclient.sh Add echo line at the beginning of each sh script (#202) 2018-04-23 09:58:45 +02:00
android-petstore-volley.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
bash-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
clojure-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
csharp-dotnet2-petstore.sh update c# 2.0 samples (#285) 2018-05-02 14:30:25 +08:00
csharp-petstore-net-standard.sh update c# 2.0 samples (#285) 2018-05-02 14:30:25 +08:00
csharp-petstore.sh update c# 2.0 samples (#285) 2018-05-02 14:30:25 +08:00
csharp-property-changed-petstore.sh update c# 2.0 samples (#285) 2018-05-02 14:30:25 +08:00
dart-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
dynamic-html.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
elixir-petstore.sh update elixir with oas3 petstore (#318) 2018-05-04 23:52:52 +08:00
elm-petstore.sh Add Elm script with Petstore OAS3 (#293) 2018-05-02 23:04:16 +08:00
erlang-petstore-client.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
erlang-petstore-server.sh Update TypeScript Petstore samples with OAS3 (#253) 2018-04-28 12:11:02 +08:00
finch-petstore-server.sh update finch generator's default value (#394) 2018-05-11 09:18:49 +08:00
flash-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
go-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
groovy-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
haskell-http-client-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
haskell-servant-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
html2-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
html-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
javascript-closure-angular.sh Add echo line at the beginning of each sh script (#202) 2018-04-23 09:58:45 +02:00
jaxrs-cxf-client-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
lua-petstore.sh Add echo line at the beginning of each sh script (#202) 2018-04-23 09:58:45 +02:00
lumen-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
nodejs-petstore-google-cloud-functions.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
nodejs-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
objc-petstore-coredata.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
objc-petstore.sh Add echo line at the beginning of each sh script (#202) 2018-04-23 09:58:45 +02:00
perl-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
php-petstore.sh Update PHP client default value (#417) 2018-05-11 15:28:09 +08:00
php-silex-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
php-symfony-petstore.sh Update PHP Symfony server petstore with OAS2, OAS3 (#255) 2018-04-28 14:38:37 +08:00
pistache-server-petstore.sh Add echo line at the beginning of each sh script (#202) 2018-04-23 09:58:45 +02:00
powershell-petstore.sh Update Scala gatling's default value (#390) 2018-05-09 16:34:54 +08:00
python-flask-petstore-python2.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
python-flask-petstore.sh Update default value, fix example value (#370) 2018-05-08 19:51:15 +08:00
qt5-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
r-petstore.sh update R default value, clean up old R files, add window batch for (#415) 2018-05-11 11:25:50 +08:00
rails5-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
restbed-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
ruby-petstore.sh Add echo line at the beginning of each sh script (#202) 2018-04-23 09:58:45 +02:00
rust-petstore.sh Update rust client with Petstore OAS2 (#148) 2018-05-04 01:38:40 +08:00
scala-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
scalatra-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
scalaz-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
sinatra-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
slim-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
tizen-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-angular-petstore-all.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-angular-v2-petstore-interfaces.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-angular-v2-petstore-with-npm.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-angular-v2-petstore.sh Update TypeScript Petstore samples with OAS3 (#253) 2018-04-28 12:11:02 +08:00
typescript-angular-v4-petstore-with-npm.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-angular-v4.3-petstore-with-npm.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-angularjs-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-aurelia-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-fetch-petstore-all.sh Update TypeScript Petstore samples with OAS3 (#253) 2018-04-28 12:11:02 +08:00
typescript-fetch-petstore-interfaces.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-fetch-petstore-target-es6.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-fetch-petstore-with-npm-version.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-fetch-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-inversify-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-jquery-petstore-all.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-jquery-petstore-with-npm.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-jquery-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-node-petstore-all.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-node-petstore-with-npm.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
typescript-node-petstore.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00
ze-ph-petstore-server.sh Move bash argv opt to end of ags line in scripts (#124) 2018-05-22 15:18:52 +08:00