all repos — searchix @ 70b87ff06ed982adca32658aee4a1e78c39c3f41

Search engine for NixOS, nix-darwin, home-manager and NUR users

refactor!: split main function into commands BREAKING CHANGE: searchix-web requires `serve` argument

Alan Pearce
commit

70b87ff06ed982adca32658aee4a1e78c39c3f41

parent

ec7c0ab3c29d6c6190b2ff155e1caff3fdbb4821

1 file changed, 7 insertions(+), 7 deletions(-)

changed files
M justfilejustfile
@@ -30,7 +30,7 @@ build:
nix build .# generate-defaults: - wgo run --exit ./cmd/searchix-web --print-default-config > defaults.toml + wgo run --exit ./cmd/searchix-web defaults > defaults.toml precommit: nix-build -A pre-commit-check
@@ -63,11 +63,11 @@
dev: modd -fetch *flags: - wgo run --exit ./cmd/searchix-web --config config.toml --fetch --dev {{ flags }} +ingest *flags: + wgo run --exit ./cmd/searchix-web --config config.toml ingest --dev {{ flags }} -replace *flags: - wgo run --exit ./cmd/searchix-web --config config.toml --replace --dev {{ flags }} +fetch: (ingest "--fetch") -reindex *flags: - wgo run --exit ./cmd/searchix-web --config config.toml --reindex --dev {{ flags }} +replace: (ingest "--replace") + +reindex: (ingest "--reindex")