refactor!: split main function into commands BREAKING CHANGE: searchix-web requires `serve` argument
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M modd.conf → modd.conf
@@ -1,7 +1,7 @@ internal/index/indexer.go { - prep +onchange: "just reindex" + prep +onchange: "just ingest --reindex" } **/*.go config.toml { - daemon +sigint: go run -ldflags="-X alin.ovh/searchix/internal/config.Version=$(git describe --tags --abbrev=0)" ./cmd/searchix-web --dev --config config.toml + daemon +sigint: go run -ldflags="-X alin.ovh/searchix/internal/config.Version=$(git describe --tags --abbrev=0)" ./cmd/searchix-web --config config.toml serve --dev }