@Override
protected void doHandle(CommandContext ctx) throws CommandFormatException {
ModelControllerClient client = ctx.getModelControllerClient();
ParsedCommandLine args = ctx.getParsedCommandLine();
boolean l = this.l.isPresent(args);
if(!args.hasProperties() || l) {
printList(ctx, Util.getDeployments(client), l);
return;
}
final String name = this.name.getValue(ctx.getParsedCommandLine());