Patent 7502999 was granted and assigned to Sun Microsystems on March, 2009 by the United States Patent and Trademark Office.
A mechanism is disclosed for exposing a command line interface (CLI) command as a web service by automatically generating a description document that describes the CLI command's syntax. A man page that is associated with the specified CLI command is automatically parsed. Based on the man page, a description document is automatically generated. The automatically generated description document describes the CLI command's syntax.