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

codesandbox-cli import to private project? #157

Open
rchrd2 opened this issue Apr 19, 2022 · 3 comments
Open

codesandbox-cli import to private project? #157

rchrd2 opened this issue Apr 19, 2022 · 3 comments

Comments

@rchrd2
Copy link

rchrd2 commented Apr 19, 2022

Is it possible to import to a private project with the codesandbox-cli?

@JamesACS
Copy link

Hey @rchrd2 - Please could you give us a few more details? Where are you importing the project from and do you need it to remain private?

@rchrd2
Copy link
Author

rchrd2 commented Apr 28, 2022

Hi I believe I wanted to use the CLI to import a folder, and have the new project that is created be marked as private. Instead of public. Does that make sense? It was for a non-open source project that needed to remain private.

@JamesACS
Copy link

JamesACS commented May 4, 2022

Hey again @rchrd2 - It is possible, you can use the code here to get you started: https://github.com/codesandbox/codesandbox-importers/blob/master/packages/cli/src/commands/deploy.ts#L124-L149

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

No branches or pull requests

2 participants