1
0
mirror of https://github.com/enpaul/kodak.git synced 2025-09-18 13:18:38 +00:00

Move index tooling to top level module namespace

This commit is contained in:
2021-11-22 21:49:31 -05:00
parent 5613f8287c
commit 5cbd0b019c
3 changed files with 2 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ import sys
from kodak import __about__
from kodak import configuration
from kodak import database
from kodak import tools
from kodak import index
def get_args() -> argparse.Namespace:
@@ -59,7 +59,7 @@ def main() -> int:
if args.index:
config = configuration.load()
database.initialize(config)
tools.index.build(config)
index.build(config)
return 0
if args.server:

View File

@@ -1 +0,0 @@
from kodak.tools import index