The CM Commands bundle provides the configuration console command group. The command group defines a set of console commands available for interacting with the Configuration Manager. The following list gives a short description of what the commands do, for complete details on parameters, use help on each command in the console.
The Knopflerfish CM implementation provides a legacy XML DTD, cm_data.dtd, that specifies one format for storing configurations as XML-documents. The Java package org.knopflerfish.shared.cm contains helper classes for writing and reading this XML format.
The import and export commands works with XML-documents following the cm_data.dtd. See cm for a description of this format.
Available configuration commands: create [-help] [-f] <pid> - Create a configuration and open it for editing. current [-help] - Show the currently open configuration. delete [-help] <selection> - Delete an existing configuration. edit [-help] <selection> - Edit an existing configuration. export [-help] <file>] [<selection>] ... - Export configurations in xml format to file. import [-help] <url> - Import configuration data from xml file at url. list [-help] [<selection>] ... - List the pids of existing configurations. save [-help] [-force] - Save the currently open configuration in the CM. set [-help] <property> <value> [<type>] - Set a property in the currently open configuration. show [-help] [<selection>] ... - Show the saved versions of configurations. unset [-help] <property> - Remove a property from the currently open configuration.