spring-shell
spring-shell copied to clipboard
Spring based shell
In my project, I use https://github.com/fonimus/ssh-shell-spring-boot . This has recently been upgraded to use version 2.1.0 of Spring Shell. My application makes use of command-line arguments. Now, I observe that...
The script command does accept files only at the moment. If the command would use something like this: ``` public void script(String ref) throws Exception { Resource res = getApplicationContext().getResource(ref);...
Backround; logging is hard especially with cli apps where whole infrastructure is designed for server applications. While logging should be relatively fine with plain command output it will completely mess...
Context: I am developing a spring shell application. I want to be able to pass Spring [`ConfigurationProperties`](https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.external-config) via the command line to the application. Problem: The problem is that if...
Prior to v3.1.0 the spring-shell parser would accept "-" as the value of a shell option. This was a convenient way to indicate that the shell method should stream over...
On macOS systems with the M1 chip, the "flow" component of the spring-shell 2.1.15 version may not have interactive functionality. This issue occurs when using the 2022.2.3 version of the...
Hiya, I followed https://docs.spring.io/spring-shell/reference/getting-started.html and used Spring Initializr to create a demo app. I have attached the zip provided by the website: [demo.zip](https://github.com/spring-projects/spring-shell/files/13956308/demo.zip) I deleted the test, ran the package...
If a shell command supports a password option, the password will be stored in the history. To prevent logging the password, as a workaround I added a rule to ignore...
Given a complex command that has say 10 or more arguments, is it possible to annotate a pojo in the way method arguments would be annotated and pass a single...
It would be great if there were an easy way of disabling the logging of the executed commands into a file (spring-shell.log).