commands.put("cm", new ConfigAdminCommand().setContext(context).setHelp("cm {list|add <pid> [key=value ...]|add-factory <pid> [key=value]|remove-factory <pid>|remove <pid>}"));
commands.put("type", new MetaDataCommand().setContext(context).setHelp("type <bundle-id>"));
RunCommand run = new RunCommand();
commands.put("run", run.setContext(context).setHelp("run <script-file>" ) );
ExecuteCommand exec = new ExecuteCommand(commands);
run.setExecuteCommand(exec);
HistoryDecorator command = new HistoryDecorator(exec, readHistory(context));
context.addFrameworkListener(command);
context.addBundleListener(command);