require click 2.0 final
fixed call to editor
strip trailing newline