add test to cover the CLI API that godbolt is using
add test to cover the CLI API that godbolt is using

closes #1399

raulgrell/zig,raulgrell/zig,zig-lang/zig,zig-lang/zig,andrewrk/zig,andrewrk/zig,Dimenus/zig,raulgrell/zig,Dimenus/zig,zig-lang/zig,raulgrell/zig,raulgrell/zig,Dimenus/zig