invert @op_getc conditions, put the most specific one 
before the generic
add one more input test and a couple of helper functions
fix cli module to match against the new param (input)