CRASH-216 : Command are not evaluated within closures in Groovy repl
Make Format enum a class
Rewrote the exception handling in command pipeline