Skip to main content

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

  1. Clone the repository:
git clone https://github.com/airspot-dev/cm-sync.git
cd cm-sync
  1. Activate the Poetry shell:
poetry shell
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

krules_companion_sync-0.2.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

krules_companion_sync-0.2.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

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

Hashes for krules_companion_sync-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2aad6955207e073bf48c81b71b3d90f819dff8b3112a5798731b087fa9e61440
MD5 bcb0cdb5668cf751581ed0c13a25e2c2
BLAKE2b-256 e6c268ecd60110273926683e530a4c09c8f786b0cd3f78395d7fec3b4408ce37

See more details on using hashes here.

File details

Details for the file krules_companion_sync-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for krules_companion_sync-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2797a45b701df7c63b58ebd5b6b4ad81fce46f5a6a0a8ae5991ce74f53b66df2
MD5 cb1f50005352e943c4c1f484ba3b3737
BLAKE2b-256 ec23166fcec0a4e6e39158b218b538fee61f042809a84089765df42d7d1e591c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page