Interface PicoCLIOptions
-
public interface PicoCLIOptions
A service that plugins can use to add CLI options and commands to the BesuCommand. The PicoCLI library annotations will be inspected and the object will be passed into a picocli.CommandLine.addMixin call.This service will be available during the registration callbacks.
CLI arguments should conform to the CLI-STYLE-GUIDE.md conventions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPicoCLIOptions(java.lang.String namespace, java.lang.Object optionObject)
During the registration callback plugins can register CLI options that should be added to Besu's CLI startup.
-
-
-
Method Detail
-
addPicoCLIOptions
void addPicoCLIOptions(java.lang.String namespace, java.lang.Object optionObject)
During the registration callback plugins can register CLI options that should be added to Besu's CLI startup.- Parameters:
namespace
- A namespace prefix. All registered options must start with this prefixoptionObject
- The instance of the object to be inspected. PicoCLI will reflect the fields of this object to extract the CLI options.
-
-