Check out the docs for Lion Server Advanced Administration. It's not exhaustive by any means, but there is a section on administration from the command line.
You can also check out the documentation of the 10.6 server. Many (not ALL!) commands are the same as in Lion Server.