- This commit adds proof of concept work for terminal ui as is. - Some things work, some don't but we need to start from somewhere. Further development continues in a main. - Essentially we are starting to have enough so that it merits to move all this work into a main repo. - Everything new is kept under org.springframework.shell.component.view and will get revisiter later to find correct locations for some classes. - Catalog sample has been modified to provide "showcase" app for terminal ui features. This is a start while it already contains some usefull scenarios. - Relates #800 - Relates #801 - Relates #802 - Relates #803 - Relates #804 - Relates #805 - Relates #806 - Relates #807 - Relates #808 - Relates #809 - Relates #810 - Relates #811
107 lines
3.9 KiB
JSON
107 lines
3.9 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "java",
|
|
"name": "commands interactive",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-commands"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "commands help",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-commands",
|
|
"args": "help"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "commands fail noarg",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-commands",
|
|
"args": "fail"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "commands fail arg",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-commands",
|
|
"args": "fail --elementType TYPE"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "e2e interactive",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-e2e"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "e2e reg error-handling",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-e2e",
|
|
"args": "e2e reg error-handling"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "e2e reg error-handling arg1 throw1",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-e2e",
|
|
"args": "e2e reg error-handling --arg1 throw1"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "e2e reg error-handling arg1 throw2",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-e2e",
|
|
"args": "e2e reg error-handling --arg1 throw2"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "e2e reg error-handling arg1 throw3",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-e2e",
|
|
"args": "e2e reg error-handling --arg1 throw3"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "e2e exit-code noarg",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-e2e",
|
|
"args": "e2e reg exit-code"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "e2e exit-code arg hi",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-e2e",
|
|
"args": "e2e reg exit-code --arg1 hi"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "e2e exit-code arg fun",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.SpringShellSample",
|
|
"projectName": "spring-shell-sample-e2e",
|
|
"args": "e2e reg exit-code --arg1 fun"
|
|
},
|
|
{
|
|
"type": "java",
|
|
"name": "catalog",
|
|
"request": "launch",
|
|
"mainClass": "org.springframework.shell.samples.catalog.SpringShellApplication",
|
|
"projectName": "spring-shell-sample-catalog"
|
|
}
|
|
]
|
|
}
|