Another console app for calling the Optimizely CMS REST API

Introducing a tool I put together for exploring an Optimizely SaaS CMS instance and to source code control definitions.

It's built using the fantastic Spectre.Console .NET library and it initially supports these commands:

list <contenttypes|propertyformats|propertygroups|displaytemplates>
upsert <all|propertygroups|contenttypes|displaytemplates>
delete <propertygroups|contenttypes|displaytemplates> <KEY>

The upsert command treats a folder as a sort of Content Type Package and it will create or replace definitions in the CMS instance based on the files, using their content and name.

The list and delete commands are probably mostly used for exploring and manually cleaning up your instance. They are not dependent on the directory set as the FolderToProcess.

It should be easy to extend the tool with new features and setup additional Content Type Packages.

Tool repository and README on GitHub

Comments?

Published and tagged with these categories: Optimizely