See diff of a single config in the CLI
Closed this issue · 1 comments
boazpoolman commented
It would be nice if we could see the diff of a single config in a git-style diff viewer from the CLI.
We can try using the https://www.npmjs.com/package/cli-diff package for this.
As we allready have the formatted diff in the diff
command in the CLI this should be pretty easy.
https://github.com/boazpoolman/strapi-plugin-config-sync/blob/master/server/cli.js#L201
We could alter the diff
command to specify the name of the config as a parameter.
Something like this: config-sync diff i18n-locale.en
to see the diff of the single config.
boazpoolman commented
Released with v1.0.1