https://github.com/marinpostma/meili-cli
A CLI for meilisearch
https://github.com/marinpostma/meili-cli
meilisearch
Last synced: 2 months ago
JSON representation
A CLI for meilisearch
- Host: GitHub
- URL: https://github.com/marinpostma/meili-cli
- Owner: MarinPostma
- Created: 2020-05-16T16:31:13.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-02T12:25:36.000Z (almost 5 years ago)
- Last Synced: 2025-04-10T11:22:22.362Z (2 months ago)
- Topics: meilisearch
- Language: Rust
- Size: 36.1 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# meili-cli
A CLI for Meilisearch
## install
```bash
cargo install --path .
```## Usage
get basic help:
```bash
meili-cli --help
```by default, meili-cli uses `localhost:7700`, you can change the address by specifying it as a first argument:
```bash
meili-cli my-meili-instance.com index create movies
```### Creating an index
```bash
meili-cli index create index_name
```### Adding documents
```bash
echo '{"id": 1, "foo": "bar}' | meili-cli documents -i index_name --update add
```or
```bash
meili-cli documents -i index_name add --update documents.json
```### Supported operations
- [x] create, delete, list indexes
- [x] perform searches
- [x] add, remove documents
- [x] list, reset, modify settings
- [x] support for API keys