now one working CLI (with support for mac-osx)