feat(cli): add CLI flag and proper output stdout