-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI cleanups #550
base: development
Are you sure you want to change the base?
CLI cleanups #550
Conversation
Reduce AbstractCLI to the bare minimum of providing authentication, help and testing env support. Move logic for batch processing in a new AbstractBatchProcessingCLI subclass. Use CommandLine.getParsedOptionValue() wherever possible. Move CommandGroup, SUCCESS, FAILURE in CLI interface.
Supplying an unknown option already produces an error when parsing arguments.
79530fc
to
d612215
Compare
|
||
if ( arrayDesign == null ) { | ||
log.error( String.format( "No ArrayDesign found with name %s.", name ) ); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This log does not belong here.
@ppavlidis you mentioned the need for a tabular output, this can fit in here with the new |
Ok I will probably look at that this week |
84692c7
to
e0ec3da
Compare
buildOptions
andprocessOptions
inAbstractCLI
subclasses more than onceA few more things to look into:
@Autowired
to inject beans in CLI tools & removegetBean()