Open heavynimbus opened 3 weeks ago
Without looking into details this sounds like a good idea.
While you don't need to chain "dsl type javaconfig" together order to get better programmatic access I've always disliked that approach as config then starts to look a bit cluttered. Taking idea from a Spring Security for lambda style makes that part more clean.
Hi, I think CommandRegistration.Builder can be upgraded by following new SecurityFilterChain's builder usage from Spring Security
Could became:
This could be done for
withOption
,withTarget
,withAlias
,withErrorHandling
,withHelpOption
andwithExitCode
I think this makes for more readable code and allows for better indentation for automated formatters
Thank's for reading :)