1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-11-14 10:36:55 +00:00

Move index tooling to top level module namespace

This commit is contained in:
Ethan Paul 2021-11-22 21:49:31 -05:00
parent 5613f8287c
commit 5cbd0b019c
No known key found for this signature in database
GPG Key ID: D0E2CBF1245E92BF
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