Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating spring shell from 3.0.1 to 3.0.2 made exit, quit and clear commands dissappear #1160

Open
ThanasisBarekas opened this issue Feb 17, 2025 · 0 comments
Labels
status/need-triage Team needs to triage and take a first look

Comments

@ThanasisBarekas
Copy link

Hello,

After updating spring shell library from 3.0.1 to 3.0.2 in the bult in section of the commands in help menu the referenced commands dissapered.
Even if i manually add them in application yaml file like this
spring:
shell:
interactive:
enabled: true
command:
clear:
enabled: true
quit:
enabled: true
help:
enabled: true
only help commands appears to follow apllication yaml (if i put false, it stops to work)

I tried to ovveride them by creating commands that do the same copied from here https://github.com/spring-projects/spring-shell/tree/296db93462eac8a9d6b10009a2e3f7b9fe22f5ad/spring-shell-standard-commands/src/main/java/org/springframework/shell/standard/commands
and if i create commands with the names exit, quit or clear they dont appear. If i create commands with other names like "clean" instead of clear and then i code inside the same code like it is found here https://github.com/spring-projects/spring-shell/tree/296db93462eac8a9d6b10009a2e3f7b9fe22f5ad/spring-shell-standard-commands/src/main/java/org/springframework/shell/standard/commands it appears (not in built in commands ) and also works.

Is this a known issue ?

thank you,
Thanasis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/need-triage Team needs to triage and take a first look
Projects
None yet
Development

No branches or pull requests

1 participant