A long time since I haven’t blogged and released a CRaSH version (beta15), here are the the new stuff in CRaSH since the beta15 release.

First and foremost, the beta 20 was just released, so grab it, it’s very hot!

One of the most important feature is a new set of annotations for writing commands, that provides *contextual completion*! I think it was one of the most awaited CRaSH feature and now it is there, allowing for instance JCR path auto completion, but it works also based on the context and is able to provide completion for various part of the command line:

command: "sy" -> "system"
option names: "--fo" -> "--force"
enumerated values: "deb" -> "debug"
custom handlers, for instance JCR path: "/fo" -> "/foo"

Sub command is another neat new feature that allows to group several commands inside the same class, inspired from git:

log ls: list all loggers
log send: send a message to a logger

Here is an overview of how now CRaSh commands are written

New documentation system to provide usage and man for a command, further more now the command reference is included in the documentation

A few new based commands were addeddd

  • log: hot configure or send message to the logging system
  • jdbc: an out of the box SQL console for JNDI based datasources
  • system: interact with the VM properties

Finally we relocated CRaSH code on GitHub, the project page remains for now on Google Code along with the hosted documentation and downloads. It will allow to better follow the project status and contribute.

blog comments powered by Disqus


29 April 2011