spring-shell
spring-shell copied to clipboard
Spring based shell
To make development process more easy, document issues with various IDE's as mileage vary between IntelliJ, Eclipse/STS and VSCode. This because running shell/cli app directly from IDE may be wrong...
- How to create new component - Using templates or custom rendering - Sample "hello world" type of sample could simply show how key binding works and output last key...
If component is using templates for rendering user if mostly left confused about use of `ST4` formats. While there are some docs i https://github.com/antlr/stringtemplate4/tree/master/doc, it'd be nice to have better...
Current table module has may issues and doesn't work with styling, etc. We should go through and rewrite it to have more friendly user experience.
As with #380 command registrations more fully dynamic and user can just define `CommandRegistration` as a bean it might be beneficial to allow user to define when to register those...
For commands it would be helpful, if you can add examples to the command documentation just as some manual pages have it. I've cloned your project and added an attribute...
Maybe we should add `spring.shell.enabled` property as traditionally most of a boot autoconfigs have global flag for feature. _Originally posted by @jvalkeal in https://github.com/spring-projects/spring-shell/issues/374#issuecomment-1047521778_
Currently `Table` and `AttributedString` will convert to a human-viewable form when returned as a single object. However, when returned in an array or collection, they are not converted and instead...
If handling fails then errors are not handled and shell basically exits. Maybe do something like: ``` if (result != NO_INPUT && !(result instanceof ExitRequest)) { try { resultHandlerService.handle(result); }...