*/
public static CommandContext create(final ModelControllerClient client) {
final CommandContext commandContext;
try {
commandContext = CommandContextFactory.getInstance().newCommandContext();
commandContext.bindClient(client);
} catch (CliInitializationException e) {
throw new IllegalStateException("Failed to initialize CLI context", e);
}
return commandContext;
}