Import from stdIn not from a file

This commit is contained in:
Tobie Morgan Hitchcock 2017-02-16 09:59:54 +00:00
parent cd7922db15
commit fcfa88a33b

View file

@ -19,9 +19,9 @@ import (
) )
var importCmd = &cobra.Command{ var importCmd = &cobra.Command{
Use: "import [options] <file>", Use: "import",
Short: "Import data into an existing database from a JSON file", Short: "Import data into an existing database",
Example: " surreal import backup.zip", Example: " surreal import",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
// Do Stuff Here // Do Stuff Here
}, },