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.2.0.tar.gz
.
File metadata
- Download URL: krules_companion_sync-0.2.0.tar.gz
- Upload date:
- Size: 2.9 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 | 2aad6955207e073bf48c81b71b3d90f819dff8b3112a5798731b087fa9e61440 |
|
MD5 | bcb0cdb5668cf751581ed0c13a25e2c2 |
|
BLAKE2b-256 | e6c268ecd60110273926683e530a4c09c8f786b0cd3f78395d7fec3b4408ce37 |
File details
Details for the file krules_companion_sync-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: krules_companion_sync-0.2.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 | 2797a45b701df7c63b58ebd5b6b4ad81fce46f5a6a0a8ae5991ce74f53b66df2 |
|
MD5 | cb1f50005352e943c4c1f484ba3b3737 |
|
BLAKE2b-256 | ec23166fcec0a4e6e39158b218b538fee61f042809a84089765df42d7d1e591c |