Feature Request: Tell Spring Shell to ignore command line arguments
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
No implementation files or tests are identified in the issue. Start by tracing Spring Shell startup argument parsing alongside Spring Boot external configuration handling; done means configuration arguments remain available to the application without being interpreted as shell commands.
Written by the indexing model from the issue text.
Description
Context: I am developing a spring shell application. I want to be able to pass Spring ConfigurationProperties via the command line to the application.
Problem: The problem is that if I try to pass the ConfigurationProperties via the command line e.g.:
java -jar myapp.jar --flag1=value1 --flag2=value2
Spring Boot correctly parses --flag1=value1 --flag2=value2 as external configuration but then Spring shell tries to interpret
--flag1=value1 --flag2=value2
as a shell command which it is not.
Please provide a solution to this problem.
- Dominant language
- Java
- Stars
- 826
- Forks
- 405
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from spring-projects/spring-shell
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
spring-projects/spring-shell#1391 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
spring-projects/spring-shell#1390 ·
-
type/enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
spring-projects/spring-shell#1383 · 6 comments ·
-
area/dependencies type/enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
spring-projects/spring-shell#1213 · 1 reaction ·
-
area/dependencies type/enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
spring-projects/spring-shell#1205 · 1 comment ·
All issues in spring-projects/spring-shell
Similar issues
-
Update license yearOpen0 - Backlog 1 - Ready documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
cbor
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
FasterXML/jackson-dataformats-binary#844 ·
Maintainers usually reply within 1 day
-
Issue: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenAPITools/openapi-generator#25107 ·
Maintainers usually reply within 1 day
-
improvement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
apache/iceberg#18351 · 1 comment ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
repowise-dev/repowise#2945 · 1 comment ·
Maintainers usually reply within 1 day