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.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for krules_companion_sync-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eb5054a085688f5cb765731aca9a891d971a3eb4839592d21d477c7c4e8e442f
MD5 cade39f1a6e950397d6e119283f90107
BLAKE2b-256 b61abcca420621c6b64560aaf45f7cc8d2e8c4fe819ad88cd8354c5cb4fc16b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for krules_companion_sync-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d239eca2fbd1896f1d042b800213c5412b12207aa81af356e57723f807f5894d
MD5 b5c681636be43196c202bf3f96cb841b
BLAKE2b-256 ab2db0249dada4b87828475487b689b020112a0d4159004c90d7ee1ae0f6f9c4

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