Mark Harrah
e3e23287af
reorganize help, allow keys to be arguments to 'help' command
2011-10-20 22:59:31 -04:00
Mark Harrah
ddd70fcc77
inject 'log' method to State as convenience for CommandSupport.logger
2011-10-16 17:27:36 -04:00
Mark Harrah
9ad15672d5
fix laziness of parser failure messages
2011-09-26 08:20:07 -04:00
Mark Harrah
cbf7b82cdb
clean up whitespace handling in commands. fixes #97
2011-07-12 07:47:31 -04:00
Mark Harrah
a94247d1b6
more release-worthy compile message and analysis toString
2011-05-29 19:17:31 -04:00
Mark Harrah
6c6eccea4f
trying out different costs for edit distance
2011-04-26 22:29:30 -04:00
Mark Harrah
daa58adc85
work on parser error handling
2011-04-25 20:20:05 -04:00
Mark Harrah
2f2e24c87d
cross building
...
+, ++ require a space
+ <command>
++ <scala-version> [command]
set scala versions in crossScalaVersions
2011-04-09 20:42:57 -04:00
Mark Harrah
e498b9bd3a
tab completion fixes and cleanup
2011-03-24 21:28:02 -04:00
Mark Harrah
1de086755b
command logging through Streams, 'last' without a key to redisplay it
2011-03-21 20:26:04 -04:00
Mark Harrah
f34c3b5837
some renamings and removals suggested by Heiko
...
clarify command-related members of State:
processors -> definedCommands
commands -> remainingCommands
drop some Extracted members:
curi replaced by currentRef.build
cid replaced by currentRef.project
2011-03-21 17:56:41 -04:00
Mark Harrah
19698e308e
keys cleanup part 2
2011-02-27 00:02:50 -05:00
Mark Harrah
329709c750
configurable shell prompt
...
for example:
Command.ShellPrompt := {
s => Project.extract(s).cid + "> "
}
2011-02-21 19:35:05 -05:00
Mark Harrah
16cd2e7fdc
append caret to pointer string
2011-02-18 20:55:37 -05:00
Mark Harrah
74013f3cc7
per-project commands with Commands configuration
2011-02-08 20:38:18 -05:00
Mark Harrah
c676c1c673
adjustments and cleanup
2011-01-25 22:22:11 -05:00
Mark Harrah
f1af2c1cbc
get,set,eval commands
2011-01-25 07:24:52 -05:00
Mark Harrah
837bb80d40
cleanup and fixes
2011-01-24 18:08:43 -05:00
Mark Harrah
2d394c7551
move applyEffect to Command
2011-01-22 15:07:59 -05:00
Mark Harrah
784d83af17
make explicit the separation between parsing and execution
...
Parser[() => State] instead of Parser[State]
2011-01-22 15:01:10 -05:00
Mark Harrah
c3a265dbd3
redo Command to use Parser
...
nested commands still need work
2011-01-22 14:01:59 -05:00
Mark Harrah
087bc569e0
multi-project model based on Settings and ProjectRef
2011-01-18 18:48:32 -05:00
Mark Harrah
6960d24158
part I of revised approach to commands/projects
...
no privileged project member of State
no separation of Command and Apply, so no pre-filtering on State
use entries in State attributes map instead of mixing in traits to project object:
HistoryPath, Logger, Analysis, Navigate, Watch, TaskedKey
rework Navigation to be standalone instead of mixin
2011-01-18 18:48:32 -05:00
Mark Harrah
16e2b71ccc
don't print help for internal commands
2010-11-24 14:10:48 -05:00
Mark Harrah
f462cda1fb
add 'project /' and 'project ..' commands
2010-10-30 13:24:23 -04:00
Mark Harrah
4b43e070ca
handle empty arguments case correctly
2010-09-27 18:49:13 -04:00
Mark Harrah
7b64a8f526
project navigation changes
...
projectClosure takes State
save initial project in State
2010-09-08 14:40:24 -04:00
Mark Harrah
0c59e9d5a6
minor updates for p2
2010-08-30 09:10:25 -04:00
Mark Harrah
23bf3e55c7
merge two Tasked methods
...
In practice, the returned task is coupled to the conversion function,
so task and taskToNode were merged. Also, renamed 'task' to 'act'.
2010-08-14 09:50:22 -04:00
Mark Harrah
39839f2c16
change from user commands extending Command directly to providing CommandDefinitions instance that creates commands
2010-08-10 08:44:34 -04:00
Mark Harrah
767a1e47c1
adding more commands
2010-07-27 23:01:45 -04:00
Mark Harrah
9c2268e919
task running command
2010-07-19 12:38:42 -04:00
Mark Harrah
1169493115
native type should be T => Option[O] not PartialFunction[T, O]
2010-07-19 12:31:22 -04:00
Mark Harrah
d7b66458f2
first shot at general command/definition model
2010-07-17 12:07:41 -04:00