From 28a3a0ddeb8c47fb8dca7be1652a27fc98b523d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelizaveta=20Leme=C5=A1eva?= Date: Mon, 30 Sep 2024 09:01:58 +0200 Subject: [PATCH] docs(cli): update reana-client-cli-api logs (#210) --- docs/reference/reana-client-cli-api/index.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/reference/reana-client-cli-api/index.md b/docs/reference/reana-client-cli-api/index.md index 598d98f..cab6a92 100644 --- a/docs/reference/reana-client-cli-api/index.md +++ b/docs/reference/reana-client-cli-api/index.md @@ -266,14 +266,18 @@ Examples: Get workflow logs. -The ``logs`` command allows to retrieve logs of running workflow. Note that -only finished steps of the workflow are returned, the logs of the currently -processed step is not returned until it is finished. +The ``logs`` command allows to retrieve logs of a running workflow. +Either retrive logs and print the result or follow the logs of a running workflow/job. Examples: $ reana-client logs -w myanalysis.42 - $ reana-client logs -w myanalysis.42 -s 1st_step + + $ reana-client logs -w myanalysis.42 --json + + $ reana-client logs -w myanalysis.42 --filter status=running + + $ reana-client logs -w myanalysis.42 --filter step=1st_step --follow ### validate