Skip to content
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
@usulpro

Description

@usulpro

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

  1. gcf export

  2. unzip your data to ./data folder

  3. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions