CLI Export
You can export your TakeShape project with the CLI using the export
command, available in v5.7 or higher of the @takeshape/cli
package.
In order to use the export command, you'll first have to run tsg init
to obtain an authorization token and project ID.
After running init, logging in, and selecting your project, you can run tsg export
. This will download a ZIP archive of your project to your current working directory.
- If you'd like to export your project without any data, provide the
--without-data
flag. - If you'd like to save the ZIP archive to another directory, provide the path with the
--output
flag.
Examples
tsg export
tsg export --without-data
mkdir exports
tsg export --output ./exports
Questions or feedback? Chat with us using the help pop-up in the bottom right!