Add encodepassword command to the CLI

Update the CLI so that `encodepassword <password>` can be used to
generate an encoded password.

Fixes gh-11875
This commit is contained in:
Phillip Webb
2018-02-01 12:00:28 -08:00
parent 4a1bea1fed
commit b50b9afd26
8 changed files with 291 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ public class CommandLineIT {
assertThat(cli.await(), equalTo(0));
assertThat("Unexpected error: \n" + cli.getErrorOutput(),
cli.getErrorOutput().length(), equalTo(0));
assertThat(cli.getStandardOutputLines().size(), equalTo(10));
assertThat(cli.getStandardOutputLines().size(), equalTo(11));
}
@Test