From 232ab93af746ba32bc621cc3002c1d929c25d46b Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 4 May 2024 22:29:38 +0200 Subject: [PATCH] chore: update readme Signed-off-by: kjuulh --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 883fbb5..9b9ae23 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,9 @@ Cuddle is a purely composition based tool, it means that it allows splitting cross cutting needs into many small chunks which can then be included in your service. -The way the services are usually created is that usually all the field are templated, or setup with default configurations just to give a hint that those features are available. +The way the services are usually created is that usually all the field are +templated, or setup with default configurations just to give a hint that those +features are available. ```nickel let { Vars, .. } = import "github/kjuulh/cuddle" in @@ -63,7 +65,7 @@ let { GoPlan, .. } = import "github/kjuulh/cuddle-go-service-plan" in deployment = { dev = { cron = { - schedule = "* 0 * * *" + schedule = "* 0 * * *", http = "/refresh-cache" } env = { @@ -80,7 +82,8 @@ let { GoPlan, .. } = import "github/kjuulh/cuddle-go-service-plan" in } & Vars & GoPlan ``` -A component has the same setup, but includes a different key to define what it requires +A component has the same setup, but includes a different key to define what it +requires ```nickel let { Vars, Component .. } = import "github/kjuulh/cuddle" in @@ -102,7 +105,7 @@ let { Vars, Component .. } = import "github/kjuulh/cuddle" in } & Vars & Component ``` -A plan is usually a composition of other components. +A plan is usually a composition of other components. ```nickel let { Vars, Component, .. } = import "github/kjuulh/cuddle" in