Commit Graph

531 Commits

Author SHA1 Message Date
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
fa6df13b4b Update HelloWorldCommands.java
Add explanation that "hw simple" must be run once first
2014-05-21 11:43:02 +02:00
mpollack
fabb483cd1 Update latest RC version in README 2014-05-16 16:08:50 -04:00
mpollack
29a489b156 SHL-149 Upgrade to Spring Framework 4.
* update changelog
* update sample app to reference to be released 1.1.RC3 shell
* fix version in sample app readme
2014-05-16 15:51:10 -04:00
mpollack
2244157ba0 SHL-143 - Upgrade to gradle 1.11 2014-05-02 13:52:52 -04:00
Eric Bottard
714b143bda SHL-139: Handle escape sequences in option values 2014-05-02 13:39:13 -04:00
mpollack
fb082a5224 Merge branch 'master' of https://github.com/houseofdouglas/spring-shell into houseofdouglas-master 2014-05-02 12:38:56 -04:00
mpollack
e21d4f72a6 Change version to 1.1.0.BUILD-SNAPSHOT 2014-05-02 12:25:39 -04:00
Eric Bottard
a9da6ee7ef Make cls really end up at 0,0 2014-04-18 15:52:45 +02:00
mpollack
bc93dddf00 Increment version to 1.0.0.BUILD-SNAPSHOT 2014-04-15 10:35:01 -04:00
Spring Buildmaster
a6fed77168 Release version 1.1.0.RC2 2014-04-15 06:54:36 -07:00
mpollack
2ebe54922c Update to shell 1.1 RC2 in sample app 2014-04-15 09:46:15 -04:00
mpollack
e170985fb0 Update changelog for 1.1 RC2 release 2014-04-15 09:44:59 -04: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
Peter Douglas
1e2444662e update pom.xml to reference repo.spring.io URLs 2014-04-04 17:18:39 -06:00
mpollack
25a8ed6f2b Increment version to 1.1.0.BUILD-SNAPSHOT 2014-04-02 20:27:35 -04:00
Spring Buildmaster
8e5d2fa107 Release version 1.1.0.RC1 2014-04-02 16:59:43 -07:00
mpollack
8b1ac0ad97 Update changelog and readme 2014-04-02 19:52:19 -04:00
mpollack
57498e76e3 SHL-128 - Change version of spring shell in hello world application to 1.1 RC1 2014-04-02 17:37:20 -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
5b84a99f45 Removing casts, fixed CI build plan compiler 2014-04-02 00:28:13 -04:00
mpollack
7900b0d8b4 Adding explicit cast to see if it helps compiler on CI server 2014-04-02 00:15:45 -04:00
mpollack
c7bc01474e Add hamcrest as explicity testCompile dependency 2014-04-01 23:53:49 -04:00
mpollack
65c02b778b SHL-126 - Add utility classes for rendering ascii based tables 2014-04-01 23:50:55 -04:00
Eric Bottard
8d13a494a5 Do not handle '!' in any special way 2014-03-25 15:18:15 +01:00
Eric Bottard
43a634f0b8 SHL-122: Fix value-less options not at end 2014-02-28 16:48:05 +01:00
Eric Bottard
74a0c49699 Don't crash shell in completions if an option has been set twice 2014-02-26 14:35:46 +01:00
Eric Bottard
e5adb8bc06 Add tests for completion continuation 2014-02-17 16:57:25 +01:00
Eric Bottard
d11cae8ab2 Handle quotes escaping in completions 2014-02-17 16:25:43 +01:00
Eric Bottard
ce3ca7bcc5 Remove reference to mavenLocal() 2014-02-11 15:54:40 +01:00
Eric Bottard
0ca3be8ca2 Add failing tests 2014-02-10 17:49:21 +01:00
Eric Bottard
ecb747f849 Add more assertions to tokenizer 2014-02-10 17:49:20 +01:00
Eric Bottard
7d8d9b2fde Refactor + only present not yet provided options 2014-02-10 17:49:20 +01:00
Eric Bottard
e9bb3366a1 Add more tests. One pending issue with quotes 2014-02-10 17:49:20 +01:00
Eric Bottard
3b1c3e273d Add tests and fix completion corner cases 2014-02-10 17:49:20 +01:00
Eric Bottard
f32b3e5916 Fix build file versions 2014-02-06 12:25:39 +01:00
Pid
069688314b Upgrade gradle 2014-01-30 19:15:24 -05:00
Pid
fbd1a7153d SHL-120 - Add @Inherited and @Documented to the annotations.
Adding @Inherited will permit command properties to be defined on an interface that extends CommandMarker, separating the declarative configuration and implementation, making it easier to read.
2014-01-30 19:09:45 -05:00
Eric Bottard
ac97044e46 SHL-116: Rewrote tokenizer to allow quotes escaping
* Allow unmatched quotes if at the end 30e34da977289ed52221ae0b4e9f5eabdf392a60
* Allow trailing key without an option b6814870a28f5a4bc9509556a847acec5db10523
* Allow completions in unmatched quotes f93bbc7d44461595eb299797a36bd10bc23b83f9
* Fix case where parser would think it is  at end but in quotes is intended for it (as a option marker) a2a710463761668c67810448bd6803ce67bba35e
* Fix corner case of empty quoted string 4fdcfbf2e2cbbee9a7a624735be81ed98fc67ed6
* Handle dangling dash dash at the end 40dd0bbc867b45c8cb8c37a82d5afe93ccbcb960
* Add author tag 9e3a6e0c0964d39e51f6496c97bfdf74c153bd9d
2014-01-30 18:43:18 -05:00