Eric Bottard
277a07a951
WIP on Completer
2017-08-08 11:52:31 +02:00
Eric Bottard
f5c990468b
Handle (no) result of null methods
2017-08-08 11:52:31 +02:00
Eric Bottard
ff68779937
Adds ResultHandler, a way to dynamically deal with method execution results
2017-08-08 11:52:31 +02:00
Eric Bottard
d68589a69f
Add quit command
2017-08-08 11:52:31 +02:00
Eric Bottard
2f1a42bde0
Add help command
2017-08-08 11:52:31 +02:00
Eric Bottard
4c3af009cb
Improve javadoc and DefaultParameterResolver tests
2017-08-08 11:52:31 +02:00
Eric Bottard
3e516d3bc6
Add new parameter resolver + positional params
2017-08-08 11:52:31 +02:00
Eric Bottard
c8bfff226f
Add JCommander parameter resolver
2017-08-08 11:52:31 +02:00
Eric Bottard
938bd7cfa2
Add legacy and default resolvers
2017-08-08 11:52:31 +02:00
Eric Bottard
3cd5a1be3b
Remove everything prior to Shell 2 migration
2017-08-08 11:04:41 +02:00
Eric Bottard
7424ccad05
Remove reference to 'hint' command
...
Fixes #127
2017-06-30 17:52:43 +02:00
Eric Bottard
685051b230
Allow non public methods for @CliAvailabilityIndicator
...
Fixes https://github.com/spring-projects/spring-shell/issues/122
2017-06-28 15:32:21 +02:00
Eric Bottard
fdf892cfaf
Remove unneeded dependencies, incl Guava
...
Fixes https://github.com/spring-projects/spring-shell/issues/95
2017-06-28 15:29:41 +02:00
Eric Bottard
fe512af783
Allow cancel of entered line via CTRL-C
...
Fixes https://github.com/spring-projects/spring-shell/issues/110
2017-06-28 15:27:28 +02:00
Eric Bottard
dc83a27d1d
Fix StopWatch bug introduced by 1626a4919
2016-11-03 12:27:23 +01:00
Tim Patterson
7b9e0dbdca
SHL-146 Restore cursor position on flash
2016-11-03 19:13:53 +13:00
Eric Bottard
1626a4919f
Better manage Bootstrap created objects
...
Fixes https://github.com/spring-projects/spring-shell/issues/96
2016-10-10 13:11:26 +02:00
Eric Bottard
71f9da5578
Fix Vertical aligner when rows are empty
...
Fixes https://github.com/spring-projects/spring-shell/issues/107
2016-10-10 13:04:48 +02:00
Gunnar Hillert
e3c1e1dbde
gh-100 Use dedicated Logger Name for Exception Logging
2016-06-22 10:37:38 -10:00
Oliver Gierke
aba89e416a
SHL-189 - Command classes can now be package protected.
...
SimpleExecutionStrategy now makes sure the method to be invoked is accessible.
2016-04-01 14:35:06 +02:00
Eric Bottard
73f47a4c85
SHL-177: Remove unused code
2015-11-16 10:54:47 +01:00
Eric Bottard
3bbd89506e
SHL-158: Don't aggressively remove spaces
2015-11-16 10:42:01 +01:00
mbrunton
e693a7da9c
SHL-183: Fix command prefix autocomplete bug
2015-11-16 10:33:21 +01:00
Eric Bottard
c8d2b7e383
Fix help command when a command is a prefix of another
2015-11-16 10:11:54 +01:00
Eric Bottard
29e0d6ae73
Add pretty table rendering
...
* Add some border combinations + helper methods
* Introducing TableBuilder
* Fix tests
* Add deprecation tags for old table
2015-11-13 12:18:18 -05:00
Eric Bottard
21a993d6bf
SHL-157: Prevent whole crash due to Completer
2015-07-15 17:32:10 -04:00
Eric Bottard
4c18cfb8f4
SHL-173: Add converter for array of convertible
2015-07-09 16:12:33 -04:00
Eric Bottard
511a7e230b
SHL-170: Allow space-text for values
2015-06-30 12:50:39 +02:00
Bay Batu
8221d255f1
typo fix in CommandLine
2014-12-05 21:23:53 +02:00
Bay Batu
e16ceca495
SHL-98: check option availability in case insensitive way
...
Add unit test, format code
2014-12-01 12:50:41 +01:00
Eric Bottard
8667186ef9
SHL-155: Propagate nb of TAB invocations to converter
...
- rename NB_INVOCATIONS_OPTION_CONTEXT_PREFIX to TAB_COMPLETION_COUNT_PREFIX along with value change
2014-07-01 10:39:16 -04:00
Daniel Cunha
b19c8cecc9
SHL-153: Date command should assume user localization.
2014-06-20 17:43:53 -03:00
Eric Bottard
6ea4579d69
SHL-136: Report syntax error location to the user
...
* Fix tests
2014-06-20 17:40:23 -03:00
Eric Bottard
a5eca63002
SHL-140: Fix 'help' command completion
2014-06-20 17:29:39 -03:00
Eric Bottard
91dc7b620a
SHL-138: Allow singlequote delimited strings
2014-06-20 16:46:57 -03:00
Glenn Renfro
8fa5688ae0
XD-1759 Status on shell prompt is inconsistent
2014-06-10 10:24:01 -04:00
Eric Bottard
714b143bda
SHL-139: Handle escape sequences in option values
2014-05-02 13:39:13 -04:00
Eric Bottard
a9da6ee7ef
Make cls really end up at 0,0
2014-04-18 15:52:45 +02:00
Eric Bottard
868faab5db
Clarify message when colliding options are discovered
2014-04-15 14:52:12 +02:00
Eric Bottard
3ed7a090db
SHL-135: Fix keyless command parsing
2014-04-15 14:26:05 +02:00
Eric Bottard
e0071e9abe
Revert "SHL-133 Shell command "! ls /tmp" fails"
...
This reverts commit 497f60533e .
2014-04-14 11:11:24 +02:00
Eric Bottard
717a54a7f4
Revert "SHL-113 Allow for there two be options with two empty keys"
...
This reverts commit 388c04b10a .
2014-04-14 11:11:06 +02:00
mpollack
388c04b10a
SHL-113 Allow for there two be options with two empty keys
...
Looking for a better solution, but work well for the more common case
of having default options that correspond to an empty string value,
CliOption(key = { "", "command" }
2014-04-13 21:57:24 -04:00
mpollack
497f60533e
SHL-133 Shell command "! ls /tmp" fails
2014-04-11 23:43:13 -04:00
mpollack
942d01a630
Merge branch 'SHL-113' of https://github.com/ericbottard/spring-shell into ericbottard-SHL-113
2014-04-02 17:32:28 -04:00
mpollack
ac5618df2e
SHL-80 Disable built in commands
...
Chain constructor to avoid a breaking API change
2014-04-02 12:02:38 -04:00
Eric Bottard
78082e25c7
SHL-113: Don't report ambiguity on an exact match
2014-04-02 16:33:09 +02:00
mpollack
6de9c8b1ae
SHL-91 SHL-80 Provide ability to disable built-in commands
2014-04-02 02:01:26 -04:00
mpollack
b2a004398c
SHL-107 - Prompt not re-evaluated if the user input is just an enter command
...
Thanks to the PR 7bf8be15bf8f7082e022a990680da7c818f572cf for the fix
2014-04-02 00:45:46 -04:00
mpollack
65c02b778b
SHL-126 - Add utility classes for rendering ascii based tables
2014-04-01 23:50:55 -04:00