Browse files

Delete langs command (#1836)

* Delete langs command

* Delete "langs" from docker entrypoint script

* langs -> list

* langs -> list
  • Loading branch information...
ackintosh authored and jimschubert committed Jan 7, 2019
1 parent 60776b8 commit 6e4556772c7a0e0b56801119d689557d3cd91132
@@ -12,7 +12,7 @@ codegen="${cli}/target/openapi-generator-cli.jar"
# We code in a list of commands here as source processing is potentially buggy (requires undocumented conventional use of annotations).
# A list of known commands helps us determine if we should compile CLI. There's an edge-case where a new command not added to this
# list won't be considered a "real" command. We can get around that a bit by checking CLI completions beforehand if it exists.

# if CLI jar exists, check $1 against completions available in the CLI
if [[ -f "${codegen}" && -n "$(java ${JAVA_OPTS} -jar "${codegen}" completion | grep "^$1\$" )" ]]; then
@@ -20,7 +20,7 @@ Version `4.0.0` is a major release, which contains some breaking changes without
The option is replaced with `-g` (`--generator-name`).

* `-g` allows the same values as `-l`
* See `langs` command for the list of generator name
* See `list` command for the list of generator name

=== From 3.1.x to 3.2.0

@@ -50,7 +50,6 @@ public static void main(String[] args) {
@@ -50,7 +50,7 @@
private Boolean verbose;

@Option(name = {"-g", "--generator-name"}, title = "generator name",
description = "generator to use (see langs command for list)")
description = "generator to use (see list command for list)")
private String generatorName;

@Option(name = {"-o", "--output"}, title = "output directory",

This file was deleted.

Oops, something went wrong.

0 comments on commit 6e45567

Please sign in to comment.