diff --git a/internal/cmd/db_create.go b/internal/cmd/db_create.go index bc1d54e7..bdf8159e 100644 --- a/internal/cmd/db_create.go +++ b/internal/cmd/db_create.go @@ -15,7 +15,6 @@ func init() { dbCmd.AddCommand(createCmd) addGroupFlag(createCmd) addFromDBFlag(createCmd) - addDbFromFileFlag(createCmd) addLocationFlag(createCmd, "Location ID. If no ID is specified, closest location to you is used by default.") addWaitFlag(createCmd, "Wait for the database to be ready to receive requests.") diff --git a/internal/cmd/from_file_flag.go b/internal/cmd/from_file_flag.go deleted file mode 100644 index e9fa4434..00000000 --- a/internal/cmd/from_file_flag.go +++ /dev/null @@ -1,9 +0,0 @@ -package cmd - -import "github.com/spf13/cobra" - -var fromFileFlag string - -func addDbFromFileFlag(cmd *cobra.Command) { - cmd.Flags().StringVar(&fromFileFlag, "from-file", "", "create the database from a local SQLite3-compatible file") -}