Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
107 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 ...
Patrick B.'s user avatar
  • 1,363
0 votes
2 answers
82 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 ...
swaruph's user avatar
1 vote
1 answer
103 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 = ...
Sashko1121's user avatar
-2 votes
1 answer
124 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. ...
Kasper's user avatar
  • 141
3 votes
3 answers
1k 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 ...
milosz_amg's user avatar
0 votes
1 answer
83 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 ...
Big Ed's user avatar
  • 1,294
0 votes
0 answers
155 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 ...
Coov Show's user avatar
1 vote
2 answers
516 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 ...
Pushpendra Kushvaha's user avatar
1 vote
1 answer
532 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<...
Ahmed Nabil's user avatar
2 votes
0 answers
323 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 ...
Raphael Fleischer's user avatar
0 votes
1 answer
68 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 ({...
Tallen67's user avatar
0 votes
1 answer
233 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 ...
Tallen67's user avatar
2 votes
1 answer
472 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 ...
frankmurphy's user avatar
3 votes
1 answer
1k views

In a Spring Boot test, when I annotated with @SpringBootTest, I get warning: Parameter 'systemProperties' is deprecated: Use systemPropertyVariables instead. Why is that and how can I fix it? This ...
MaduKan's user avatar
  • 926
0 votes
2 answers
124 views

I use Spring boot 3.1.x for some shell interaction. I want to stream text from a method to the console. I've tried something like this: @ShellMethod(key = "stream") public Flux<String> ...
user1409534's user avatar
  • 2,314

15 30 50 per page
1
2 3 4 5
8