Add Examples

This commit is contained in:
2025-04-16 21:52:40 -04:00
parent b9859c700f
commit 4969b7cfa8
10 changed files with 155 additions and 48 deletions

View File

@ -75,7 +75,6 @@ falyx.add_command(
description="Run My Pipeline",
action=chain,
logging_hooks=True,
# shows preview before confirmation
preview_before_confirm=True,
confirm=True,
)
@ -137,7 +136,7 @@ Confirm execution of R — Run My Pipeline (calls `my_pipeline`) [Y/n] y
### 🧱 Core Building Blocks
#### `Action`
A single async unit of work. Can retry, roll back, or inject prior results.
A single async unit of work. Painless retry support.
#### `ChainedAction`
Run tasks in sequence. Supports rollback on failure and context propagation.
@ -166,22 +165,3 @@ Registers and triggers lifecycle hooks (`before`, `after`, `on_error`, etc.) for
Falyx is designed for developers who dont just want CLI tools to run — they want them to **fail meaningfully**, **recover gracefully**, and **log clearly**.
---
## 🛣️ Roadmap
- [ ] Metrics export (Prometheus-style)
- [ ] Plugin system for menu extensions
- [ ] Native support for structured logs + log forwarding
- [ ] Web UI for interactive execution history (maybe!)
---
## 🧑‍💼 License
MIT — use it, fork it, improve it. Attribution appreciated!
---
## 🌐 falyx.dev — **reliable actions, resilient flows**
---