Skip to main content

Question list filters

Filter by
Sorted by
Tagged with
Score of -1
0 answers
55 views

I'm working on a non-interactive application using Spring Shell 4.0.3. I only want my commands and the help command to show up when someone requests help. I've disabled the history, clear, script, and ...
Score of 0
0 answers
235 views

I tried the new Spring Shell 4. Default example straight out of the box works fine, however, when I change to the documentation aligned below code I get a class not found (for the org.jline.reader....
Score of 0
1 answer
131 views

I'm building a command-line interface application using Spring Shell. It has : 5 commands named "a", "b", "c", "d", "e". Each command is defined in ...
Score of 0
1 answer
104 views

How do I read the output of the previous command in Spring Shell? Like this: $ cat hi.txt cat: hi.txt: No such file or directory $ javac hello.java hello.java:3: error: non-static method hi() cannot ...
Score of 1
1 answer
112 views

I want the user to input the path to a file as an argument, but it removes the slashes. For example, when the user inputs C:\test.txt inside the fileRead method, I get c:test.txt. @ShellMethod(value = ...
Score of -2
1 answer
135 views

How do I accept non-english characters when using ComponentFlow in Spring Shell? It works fine with non-english characters when using the Shell normally, but when using the ComponentFlow it does not. ...
Score of 3
3 answers
1551 views

I'have created simple SpringShell app (java 21 and maven) using spring initializr and created class HelloCommand.java. While running app in IntelliJ IDEA I'm occurring a warning Unable to create a ...
Score of 0
1 answer
103 views

I've run aground when trying to do the Spring Shell Tutorial. I downloaded a basic application from Spring Intializr with the following properties: Project : Gradle - Groovy Spring Boot: 3.3.0 ...
Score of 0
0 answers
177 views

I have Spring boot application with Spring shell console. When i running it on a local machine frome IDE everything is good. O wrote Dockerfile and docker-compose to deploy my app, but when i running ...
Score of 1
2 answers
567 views

According to my learning, Spring CLI and Spring Shell are tools for building command-line applications, Spring CLI is focused on running Groovy scripts and Spring Boot applications from the command ...
Score of 1
1 answer
552 views

I have a spring shell application that does pretty simple stuff like sending a get request from the terminal. pom.xml dependencies <dependency> <groupId>org.springframework.boot<...
Score of 2
0 answers
354 views

Before I work in interactive mode I like to run some commands, e.g. 'help', 'clear' or 'my-command1'. Afterwards I would like to continue working in interactive mode. With version 2 it worked fine for ...
Score of 0
1 answer
77 views

From the documentation: By default, a log file is generated to a current working directory, which you can dictate by setting spring.shell.config.location. This property can contain a placeholder ({...
Score of 0
1 answer
255 views

I've built a spring-shell application and I'd like to customize the built-in help command. Currently it looks like this: shell:>help help NAME help - Display help about available commands ...
Score of 2
1 answer
504 views

spring shell version: 3.1.6 In one of my commands, I want to make sure that the end-user specifically indicates whether they either want A or B by using a Boolean. I don't want to make the choice for ...

15 30 50 per page
1
2 3 4 5
8