Command line interface for cosmo