Thanks man. Your Turtorials are really GREAT. I saw your video on GraalVM Native Images and got motivated to start with Spring Shell, so I had the idea of building a simple CLI that executes system shell commands such as "apt-get update" and "apt-get upgrade" since i'm on a linux distro. However, I didn't find any helpful sections about this in Spring Shell docs (or i'm blind!) nor on the web. Could you please point me somewhere where I can find some help. Thanks again!
Hello guys, do you know why default quit/exit commands doesn't work? I'm closing the app with custom method and use of System.exit(0), but would like to understand what is happening with the standard ExitRequest there.
Hi, how can implement this with Java 21? When I try to convert it to a native application I am seeing an error. I understand that maven compiler doesn't support Java21. "Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project demo: Fatal error compiling: error: release version 21 not supported" Thanks!
@DanVega ,getting error this error, org.jline : Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) while running it on Mac OS in eclipse. can anyone please help me on this?
Since Spring 3.3.x, they have disabled interactive shell by default. You need to add the above property mentioned in your application.properties file and it works fine.
Came for Spring Shell. Learned about setting up Client ! Awesome.
Very interesting to see this one after the live segments for it. A nice showcase of spring not just being for webapplications.
Thank's for showing up to the live streams and for all of your help Simon 👏🏻
Exactly what I was looking for....You've been a great help.
Great video. I have just started creating a Spring Shell application!
It would be interesting to refactor your previous implementation of ChatGPT-Java CLI with Spring Shell.
Thanks for this amazing explanation on Spring Shell. How would you write tests for it?
Thanks man. Your Turtorials are really GREAT. I saw your video on GraalVM Native Images and got motivated to start with Spring Shell, so I had the idea of building a simple CLI that executes system shell commands such as "apt-get update" and "apt-get upgrade" since i'm on a linux distro. However, I didn't find any helpful sections about this in Spring Shell docs (or i'm blind!) nor on the web. Could you please point me somewhere where I can find some help. Thanks again!
Great video.
Why did you have to add reactive dependency?
Great video
amazing. loved it be making much more helpfull videos.
Great video ! Is there a way to launch a command in non-interactive mode ?
why does your intelli j look so different? what theme are you using? it's pretty cool
Can we disable the prompt shell `shell:>` ?
So you can just pass the commands and arguments in single line like $ cli command sub-command arguments ?
Hello guys, do you know why default quit/exit commands doesn't work? I'm closing the app with custom method and use of System.exit(0), but would like to understand what is happening with the standard ExitRequest there.
Hi, how can implement this with Java 21? When I try to convert it to a native application I am seeing an error. I understand that maven compiler doesn't support Java21. "Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project demo: Fatal error compiling: error: release version 21 not supported" Thanks!
Hi Dan, why do we need an interface?
it's new Spring Framework feature 'Declarative Client or Interface Client' similar to Fiegn.
@DanVega ,getting error this error, org.jline : Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) while running it on Mac OS in eclipse.
can anyone please help me on this?
Run the application from your IDE or run the jar from your project's target folder (java -jar target/.jar).
When I run app, shell doesn't appear. Why it happens?
You need spring.shell.interactive.enabled=true in your application.properties file
Since Spring 3.3.x, they have disabled interactive shell by default. You need to add the above property mentioned in your application.properties file and it works fine.