Source

Programmatic


p. “In the programmatic model, CommandRegistration can be defined as a @Bean and it will be automatically registered.”

p. “If all your commands have something in common, an instance of a CommandRegistration.BuilderSupplier is created which can be autowired.”

p. “Commands registered programmatically automatically add help options mentioned in Help Options.”

p. “CommandRegistrationCustomizer beans can be defined if you want to centrally modify builder instance given you by supplier mentioned above.”