class TemplatesCommand extends CommandSupport {

    @Override
    public Object doExecuteWithContext(CloudStackClient client, PrintStream out) throws Exception {
        out.printf("CloudStack templates for provider %s\n", getProvider().getId());

        for (Template template : client.getTemplateClient().listTemplates()) {
            out.printf("---\n%s\n", template.toString());
        }
        out.println();
        return null;
    }

    public  TemplatesCommand(DefaultProviderConfig providerConfig);

}