working CLI prototype