diff --git a/cmd/loader/main.go b/cmd/loader/main.go index fd1f502c..45f3b39d 100644 --- a/cmd/loader/main.go +++ b/cmd/loader/main.go @@ -4,6 +4,7 @@ import ( "fmt" "os" + arangodbcli "github.com/dictyBase/modware-import/internal/arangodb/cli" contentcli "github.com/dictyBase/modware-import/internal/content/cli" "github.com/dictyBase/modware-import/internal/content/client" "github.com/dictyBase/modware-import/internal/logger" @@ -48,6 +49,13 @@ func main() { Flags: uniprotcli.UniprotFlags(), Before: uniprotclient.SetRedisClient, }, + { + Name: "load-arangodb", + Usage: "filter and load JSON dumps into ArangoDB collections", + Action: arangodbcli.LoadArangodb, + Flags: arangodbcli.ArangodbLoaderFlags(), + Before: client.SetS3Client, + }, }, }