Skip to content

Commit

Permalink
feat: export to zip file and export directory using dataset name now …
Browse files Browse the repository at this point in the history
…active
  • Loading branch information
Thomas Osterbind committed Feb 7, 2018
1 parent 050d8e4 commit 1533293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ To export everything about a dataset, use the --dataset flag.`,

ds := res.Dataset

path = filepath.Join(path, dsr.Name)

if cmd.Flag("zip").Value.String() == "true" {
dst, err := os.Create(fmt.Sprintf("%s.zip", path))
ExitIfErr(err)
Expand Down

0 comments on commit 1533293

Please sign in to comment.