Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions redisvl/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import sys

from redisvl.cli.index import Index
from redisvl.cli.migrate import Migrate
from redisvl.cli.stats import Stats
from redisvl.cli.version import Version
from redisvl.utils.log import get_logger
Expand All @@ -14,6 +15,7 @@ def _usage():
"rvl <command> [<args>]\n",
"Commands:",
"\tindex Index manipulation (create, delete, etc.)",
"\tmigrate Index migration (plan, apply, validate)",
"\tversion Obtain the version of RedisVL",
"\tstats Obtain statistics about an index",
]
Expand Down Expand Up @@ -46,6 +48,10 @@ def version(self):
Version()
exit(0)

def migrate(self):
Migrate()
exit(0)

def stats(self):
Stats()
exit(0)
Loading
Loading