Make history file path configurable
- UserConfigPathProvider interface to provid "user-level" config directory which can be used within a shell. - New options which can be used to configure behaviour. spring.shell.history.enabled spring.shell.history.name spring.shell.config.location spring.shell.config.env - Fixes #417
This commit is contained in:
committed by
GitHub
parent
f2d97ae2de
commit
6a1158dc12
@@ -2,6 +2,11 @@ spring:
|
||||
main:
|
||||
banner-mode: off
|
||||
shell:
|
||||
config:
|
||||
env: SPRING_SHELL_SAMPLES_USER_HOME
|
||||
location: "{userconfig}/spring-shell-samples"
|
||||
history:
|
||||
name: spring-shell-samples-history.log
|
||||
command:
|
||||
completion:
|
||||
root-command: spring-shell-samples
|
||||
|
||||
Reference in New Issue
Block a user