algolia / algolia/cli

algolia rules import

Open
#191 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
109
Forks
32
Avg merge
9d 3h
Merged PRs (30d)
3

Description

When running a command like the following. The existing rules are not cleared.
`algolia rules import my_index --file ~/my_rules.json --clear-existing-rules -y`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the command shown for the `algolia rules import` entry point and observe whether existing rules remain. Trace that command's handling of `--clear-existing-rules`, then verify that the flag removes existing rules before importing the rules file.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.