codesandbox-importers icon indicating copy to clipboard operation
codesandbox-importers copied to clipboard

codesandbox-cli import to private project?

Open rchrd2 opened this issue 2 years ago • 3 comments

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

rchrd2 avatar Apr 19 '22 22:04 rchrd2

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?

JamesACS avatar Apr 28 '22 14:04 JamesACS

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.

rchrd2 avatar Apr 28 '22 17:04 rchrd2

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

JamesACS avatar May 04 '22 15:05 JamesACS