Add basic CLI functionality in.