feat(#9, #15): add support for CLI and real e2e test case