Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environment file flag to CLI #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

colophonemes
Copy link

Adds an additional option --environment-file which allows the user to override the path to the default environment file and specify their own path.

This is useful if it's cleaner to keep your environment file somewhere other than the default, or if you need to specify multiple environments (e.g. in a monorepo that targets several different Contentful spaces).

@colophonemes
Copy link
Author

Ping @stevenpetryk – if this is unlikely to land that's fine, but it'd be useful to know if we need to create our own fork.

@stevenpetryk
Copy link
Contributor

Hey @colophonemes, I actually don't work at Intercom anymore, so I don't have access to this repo. I'll reach out to old colleagues and flag this to them.

@colophonemes
Copy link
Author

Ah sorry, I didn't realise – thanks for offering to reach out, much appreciated.

@rafapaulin
Copy link

Why this one did not get merged?

@GabrielAnca
Copy link
Contributor

GabrielAnca commented Dec 19, 2022

Hi 👋🏻 I'd be happy to have something like this, I think adding flexibility would be great. In order to merge this we'd need:

@colophonemes
Copy link
Author

I've since moved on from this, but anyone else is welcome to create a new PR based on my work here.

For the record, I ended up using https://www.npmjs.com/package/contentful-ts-generator, though not sure how the projects compare any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants