From 215abde9e67241f7724d9d779d199bbdddfa7cb4 Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Fri, 3 Feb 2023 08:32:55 -0500 Subject: [PATCH] cli: cover `rad patch update` in doc test Signed-off-by: Slack Coder --- radicle-cli/examples/rad-patch.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/radicle-cli/examples/rad-patch.md b/radicle-cli/examples/rad-patch.md index 0f084a4d..98c68688 100644 --- a/radicle-cli/examples/rad-patch.md +++ b/radicle-cli/examples/rad-patch.md @@ -83,3 +83,27 @@ new file mode 100644 index 0000000..e69de29 ``` + +Wait, lets add a README too! Just for fun. + +``` +$ touch README.md +$ git add README.md +$ git commit --message "add README for the YOLOs" +[flux-capacitor-power 6792455] add README for the YOLOs + 1 file changed, 0 insertions(+), 0 deletions(-) + create mode 100644 README.md +$ rad patch update --message "Add README, just for the fun" --no-confirm 15141cf1497627e2db54362972dd9533f62d1dcb + +🌱 Creating patch for heartwood + +ok Pushing HEAD to storage... +ok Analyzing remotes... + +15141cf1497 R0 (3e674d1) -> R1 (6792455) +1 commit(s) ahead, 0 commit(s) behind + + +ok Patch 15141cf1497627e2db54362972dd9533f62d1dcb updated 🌱 + +```