This repository was archived by the owner on Sep 7, 2020. It is now read-only.
This repository was archived by the owner on Sep 7, 2020. It is now read-only.
gcf import doesn't accept folder as a source #516
Open
Description
Current behavior
$ gcf import --source ./data
▸ Source must end with .zip
Get in touch if you need help: https://www.graph.cool/forum
To get more detailed output, run $ export DEBUG="*"
Reproduction
-
gcf export
-
unzip your data to
./data
folder -
shell gcf import --source ./data
Expected behavior?
As it said in gcf import --help
it should take data folders as well as .zip files
$ gcf import --help
Usage: graphcool-framework import [flags]
Import data into a service
Flags:
-s, --source SOURCE (required) Path to zip or folder including data to import
-t, --target TARGET Target name
graphcool-framework/0.11.6 (linux-x64) node-v9.5.0