Migrate your existing forestry or netlifycms configuration into CloudCannon config.
To run in the current directory:
npx cloudcannon-config-migrator --source .
This will read the files in the current directory and make the following updates:
- Add
cloudcannon.config.yml
which defines your collections, inputs, structures and select_data - Add
.cloudcannon/schemas/*
which contains the default file contents for your collections - Update any files that are not using default schemas to add a
_schema
value - Update any files that have
_inputs
that are only scoped to that file (e.g. data files)