Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gmourier/preshot

🔧 A simple command set to accompany a deterministic use of Meilisearch API keys.
https://github.com/gmourier/preshot

automation cli continous-deployment meilisearch

Last synced: about 2 months ago
JSON representation

🔧 A simple command set to accompany a deterministic use of Meilisearch API keys.

Awesome Lists containing this project

README

        

A simple command set to accompany a deterministic use of Meilisearch API keys.

## Overview

```bash
SUBCOMMANDS:
discover-keys Discover key fields value for a list of UIDs and a master key
generate-keys Generate (uid, key) tuples
generate-uuids Generate uuid(s) V4
help Print this message or the help of the given subcommand(s)
```

## discover-keys

```bash
preshot discover-keys masterKey d7d30ffe-ec60-484f-84f8-1c8b7d0ac352 c5a18797-621c-42b5-81bd-23fbf0202364
```

```bash
uid | 🔑 key
d7d30ffe-ec60-484f-84f8-1c8b7d0ac352 | 623359df9ea4d4a6c676c329c793191601ce7dd15541c2394277eae26aeedf1e
c5a18797-621c-42b5-81bd-23fbf0202364 | 9decc7baffbed2fa9b9cfa599c3d72ecf8db3fad02b65941caa378e824299482
```

```bash
Discover key fields value for a list of UIDs and a master key

USAGE:
preshot discover-keys [UIDS]...

ARGS:
Meilisearch master key
... API key uids
```

## generate-keys

```bash
preshot generate-keys masterKey 3
```

```bash
uid | 🔑 key
3cc1b0bf-cd20-4a9e-b6b3-f807dc084809 | 573570a095d46fd53ca10419d7ecc01e7247215a2644dbf5d706c0b06eaa02cd
9d92afc7-cc0c-48d9-80da-eb5af536407b | c6709163458f20017fe085ce8e89053b17a3a8e710eaa203a96dcc83b7228c90
89292f1b-83ac-4e96-a414-814e85c99b52 | 73491c15fd8dc77ad82a44eee0802c3faf27b639a4c08baf782f366af9f12832
```

```bash
Generate (uid, key) tuples

USAGE:
preshot generate-keys [COUNT]

ARGS:
Meilisearch master key
Number of (uid, key) tuple to generate [default: 1]
```

## generate-uuids

```bash
preshot generate-uuids 3
```

```bash
8b566165-1cb5-4b8d-890a-23e0c9d670b6
cc339590-86cd-4f42-b06e-faee781cff05
b94505dd-2ed0-4c6c-a079-088e93bceb26
```

```bash
Generate uuid(s) V4

USAGE:
preshot generate-uuids [COUNT]

ARGS:
Number of uuids V4 to generate [default: 1]
```