public abstract class ShellUtils extends Object
| Constructor and Description |
|---|
ShellUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
filteredArgsToShellCommands(org.springframework.boot.ApplicationArguments args)
Gets a filtered list of args to pass to the command shell.
|
static boolean |
hasHelpOption(org.springframework.boot.ApplicationArguments args)
Checks if given application arguments contains any usual help option.
|
public static boolean hasHelpOption(org.springframework.boot.ApplicationArguments args)
args - the application argumentspublic static List<String> filteredArgsToShellCommands(org.springframework.boot.ApplicationArguments args)
If any help arg is specified returns a single element list containing 'help'. Otherwise
filters out any skipper client properties.
args - the application argumentsCopyright © 2022 Pivotal Software, Inc.. All rights reserved.