*/
public static Collection<CommandModel.ParamModel> getParamMetaData(
String commandName, Collection<String> commandParamsToSkip,
Habitat habitat, Logger logger) {
CommandRunner cr = habitat.getComponent(CommandRunner.class);
CommandModel cm = cr.getModel(commandName, logger);
Collection<String> parameterNames = cm.getParametersNames();
ArrayList<CommandModel.ParamModel> metaData = new ArrayList<CommandModel.ParamModel>();
CommandModel.ParamModel paramModel;
for (String name : parameterNames) {
paramModel = cm.getModelFor(name);
String parameterName = (paramModel.getParam().primary()) ? "id" : paramModel.getName();
boolean skipParameter = false;
try {
skipParameter = commandParamsToSkip.contains(parameterName);