KRules Comapnion channels/triggers creation or updates from a yaml file
Project description
Firestore Trigger
Firestore Trigger is a CLI tool designed to automate the creation and updating of channels and triggers in Firestore based on configurations defined in a YAML file.
Installation
- Clone the repository:
git clone https://github.com/airspot-dev/cm-sync.git
cd cm-sync
- Activate the Poetry shell:
poetry shell
- Install dependencies using Poetry:
poetry install
Usage
The tool provides commands for syncing channels and triggers with Firestore database.
To Update:
- Using standard input (stdin)/pipe to pass the YAML content directly:
cat path/to/your/trigger.yaml | cm-sync
- Using a file path to specify the YAML file:
cm-sync -f path/to/your/trigger.yaml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file krules_companion_sync-0.1.0.tar.gz
.
File metadata
- Download URL: krules_companion_sync-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb5054a085688f5cb765731aca9a891d971a3eb4839592d21d477c7c4e8e442f |
|
MD5 | cade39f1a6e950397d6e119283f90107 |
|
BLAKE2b-256 | b61abcca420621c6b64560aaf45f7cc8d2e8c4fe819ad88cd8354c5cb4fc16b1 |
File details
Details for the file krules_companion_sync-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: krules_companion_sync-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d239eca2fbd1896f1d042b800213c5412b12207aa81af356e57723f807f5894d |
|
MD5 | b5c681636be43196c202bf3f96cb841b |
|
BLAKE2b-256 | ab2db0249dada4b87828475487b689b020112a0d4159004c90d7ee1ae0f6f9c4 |