Add an extension to an environment

Hi,

I was wondering how can i create/update an extension to an environment? The now deprecated contentful-extension doesn’t seem to support this nor does the contentful-cli or at least I haven’t found any documentation that would support this.

You can use the contentful-cli to create an extension https://github.com/contentful/contentful-cli/blob/master/docs/extension/create/README.md

Thanks Khaled - not sure how i missed that one - the update command doesn’t seem to have the --environment-id option or did i miss that as well?

Sorry about that I will update the documentation for that

Nice that updating the documentation resolves the issue :wink:
I could almost swear that I saw the environment-id option in some documentation a month ago - maybe someone didn’t merge it so good :smiley:

Thanks!

:sunny: