Costin Leau
011b614c63
code cleanup
...
remove non-Javadoc
eliminate useless constants interface
add some javadocs
2012-07-11 14:36:45 +03:00
Costin Leau
4ace694265
replace VersionUtils with a platform-agnostic impl
2012-07-11 14:25:12 +03:00
Jarred Li
befa5f12c5
fix history issue
2012-05-31 13:17:44 +08:00
abhishek
cbe61e1d6f
SHL-32 - Sub-classes of AbstractShell should be able to handle results
...
of execution as required.
Added a protected method handleExecutionResult() which is called from
executeCommand() to handle the result if the result is not of a type
'ExitShellRequest'.
handleExecutionResult() can be over-ridden by sub-classes if a different
behavior is desired.
2012-05-29 14:25:37 +05:30
abhishek
91056b82a6
SHL-31 - Move providers' code & ApplicationContext to
...
JLineShellComponent from JLineShell.
Added hooks in JLineShell for sub-classes for Product Name, Version,
History File, Prompt Text.
2012-05-29 12:21:38 +05:30
Jarred Li
2e6d54049b
typo
2012-05-24 17:23:36 +08:00
Jarred Li
d329586a80
customize console titile
2012-05-24 13:56:42 +08:00
Jarred Li
4dca0cbcd3
Merge branch 'master' of github.com:SpringSource/spring-shell
2012-05-21 17:15:28 +08:00
Jarred Li
d41493274b
support run OS commands
2012-05-21 17:14:44 +08:00
abhishek
f94dc11979
A change that was missed in 4052eb8235.
...
It is a fix to 'Print only the message contained in the record when the message length is less than the buffer length.'
2012-05-02 13:09:59 +05:30
abhishek
cc42ad5e79
SHL-4, sub-classes of JlineShell can access ConsoleReader and can also provide a ConsoleReader instance.
2012-04-27 21:39:00 +05:30
abhishek
80d5bc7383
Make ANSIBuffer create method public.
2012-04-27 20:10:09 +05:30
abhishek
4052eb8235
Print only the message contained in the record when the message length is less than the buffer length.
2012-04-27 20:06:32 +05:30
Jarred Li
cdf665e4f1
update parser to accept specifiedDefaultValue in the option
2012-04-26 15:20:38 +08:00
Jarred Li
898fd18044
update UT
2012-04-24 15:38:54 +08:00
Jarred Li
97f4c80a45
SHL-24, hint for optional parameters
2012-04-24 15:20:59 +08:00
Jarred Li
a5932f649f
change code for hisitory size
2012-04-15 12:39:50 +08:00
Jarred Li
a150e1ba57
change time local as JANSI does not support GBK
2012-04-15 12:23:25 +08:00
Jarred Li
a628c46ab0
update history size
2012-04-15 12:08:21 +08:00
Jarred Li
c59891e26e
change code to read history
2012-04-15 11:52:31 +08:00
Jarred Li
74d872bbb5
SHL-21 update hint message
2012-04-15 09:18:49 +08:00
Jarred Li
d8ec63e26e
update hint message for mandatory options
2012-04-14 16:06:37 +08:00
Jarred Li
e2c8d1a4d6
SHL-20, SHL-21, change console message
2012-04-14 14:16:14 +08:00
Jarred Li
f12f986e1f
limit history commands size
2012-04-14 11:43:01 +08:00
Jarred Li
5dca1a102a
SHl-22 limit history size, remove dead code
2012-04-14 09:24:34 +08:00
Jarred Li
16610f1627
refactor plugin, add Order annoaton support
2012-04-13 15:39:01 +08:00
Jarred Li
5d8a8d9c46
plugins customizing is intialized once at start
2012-04-13 14:43:21 +08:00
Jarred Li
01f8037231
move shell thread from Bootstrap to JLineShellComponent
2012-04-13 13:14:08 +08:00
Jarred Li
34e4c23e1f
refactor code per Mark comments, remove some system commands per Jun comments.
2012-04-13 12:11:20 +08:00
Jarred Li
270c6d1e17
Hide log4j warning
2012-04-12 17:07:09 +08:00
Jarred Li
11fe9f5918
SHL-17 customize welcome message
2012-04-12 17:00:41 +08:00
Jarred Li
2b05b13db6
SHL-11 customie banner
2012-04-12 16:05:34 +08:00
Jarred Li
cb7f85b9b6
SHL-16 exit with twice enter
2012-04-12 15:02:27 +08:00
Jarred Li
db68586afd
SHL-12 customize prompt text
2012-04-12 12:08:36 +08:00
Jarred Li
956d72ee28
add history file name example
2012-04-11 06:03:03 -07:00
Jarred Li
e6e201e390
SHL-13 customize history file
2012-04-11 18:04:23 +08:00
Jarred Li
c27eeeab88
SHL-15 change plugin module by using XML
2012-04-11 15:15:57 +08:00
Jarred Li
c5e646d25f
update context to scan system commands
2012-04-09 12:33:18 +08:00
Jarred Li
09396e9421
SHL-8 separate hello world example
2012-04-07 19:04:53 +08:00
Jarred Li
070da47f5b
SHL-6 support help command
2012-04-07 13:23:12 +08:00
Mark Pollack
8d0adc1651
SHL-6 - Spring Shell does not support "help"
2012-04-06 17:55:17 -04:00
Mark Pollack
f2debb62f4
Completed SHL-1
...
Work in progress for SHL-2, SHL-3.
2012-03-13 19:52:17 -04:00
Mark Pollack
2a6b2bd679
initial commit
2012-02-15 21:48:21 -05:00