From a0de565367715b8e131edd03900cd8a58dcd7f9d Mon Sep 17 00:00:00 2001 From: Sergio <77530549+sergi0g@users.noreply.github.com> Date: Fri, 7 Feb 2025 17:32:19 +0200 Subject: [PATCH] Update docs about JSON CLI output, fix small typo on homepage --- docs/src/app/components/pages/home.tsx | 2 +- docs/src/content/docs/usage/cli.mdx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/src/app/components/pages/home.tsx b/docs/src/app/components/pages/home.tsx index f55e0d2..f34369a 100644 --- a/docs/src/app/components/pages/home.tsx +++ b/docs/src/app/components/pages/home.tsx @@ -97,7 +97,7 @@ export default async function Home() { /> +When parsing Cup's output, capture only `stdout`, otherwise you might not get valid JSON (if there are warnings) + + ## Usage with Docker If you're using the Docker image, just replace all occurences of `cup` in the examples with `docker run -tv /var/run/docker.sock:/var/run/docker.sock ghcr.io/sergi0g/cup`.