From 85f7ef8f3247307aba42804a9b76b1d184aeca16 Mon Sep 17 00:00:00 2001 From: Kalvin Date: Wed, 29 Apr 2026 10:39:21 +0800 Subject: [PATCH] feat(help): add docs URL to root and `run` after_help `runcomfy --help` now ends with: DOCS: https://docs.runcomfy.com/cli/introduction `runcomfy run --help` ends with: DOCS: https://docs.runcomfy.com/cli/commands#run So users hitting --help can find the full reference without guessing. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/cli.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cli.rs b/src/cli.rs index 0f97f58..512652b 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -42,6 +42,9 @@ EXIT CODES: 69 upstream service error 5xx (EX_UNAVAILABLE) 75 retryable transient error: timeout / 429 (EX_TEMPFAIL) 77 authentication error 401 / 403 (EX_NOPERM) + +DOCS: + https://docs.runcomfy.com/cli/introduction "; const RUN_AFTER_HELP: &str = "\ @@ -65,6 +68,9 @@ EXAMPLES: # Save outputs into a specific directory runcomfy run openai/gpt-image-2/text-to-image \\ --input '{\"prompt\":\"...\"}' --output-dir ./out + +DOCS: + https://docs.runcomfy.com/cli/commands#run "; /// `runcomfy --version` output, including the git sha and commit date