migrating to the cli base templates