public class UsageFormatter extends Object
Modifier and Type | Method and Description |
---|---|
void |
format(CommandManager mgr)
Prints the usage of CLI.
|
void |
format(CommandManager mgr,
SubCommand cmd)
Prints the usage of sub command.
|
static UsageFormatter |
getInstance()
Returns an instance of this class.
|
public static UsageFormatter getInstance()
public void format(CommandManager mgr) throws CLIException
mgr
- Command Manager object.CLIException
- if usage text cannot be presented.public void format(CommandManager mgr, SubCommand cmd) throws CLIException
mgr
- Command Manager object.cmd
- Sub command object.CLIException
- if usage text cannot be presented.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.