Add cli version.

Pure, no cgi.

Signed-off-by: Thiago Farina <tfarina@chromium.org>