CMCLab, whether command line or interactive, use the same file format for specifying surfaces.
Sample cmc input file (Delaunay unduloid):
The file extension .cmc is conventional.
A pound symbol (#) at the beginning of a line designates a comment, and the line is ignored by the cmc software. The file has four sections: the surface name, the surface specification, the domain, and the internal CMCLab parameters. The last two are set to defaults if omitted. The domain entry matches the domain window above` and follows one of the two formats
domain rectangular O; A; M; B; N