spring-shell
spring-shell copied to clipboard
CommandRegistration.Builder with lambdas
trafficstars
This PR is intended to fix issue https://github.com/spring-projects/spring-shell/issues/1127
I added all functions of CommandRegistration.Builder that have a Consumer<?Spec> to avoid chaining with the and function from specifications. This change improves code readability and indentation.
This is my first contribution. Please let me know if there are any issues or if I need to make any adjustments.