cli: cover `rad patch update` in doc test

Signed-off-by: Slack Coder <slackcoder@server.ky>
This commit is contained in:
Slack Coder 2023-02-03 08:32:55 -05:00 committed by Alexis Sellier
parent 98f09130bb
commit 215abde9e6
No known key found for this signature in database
1 changed files with 24 additions and 0 deletions

View File

@ -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 🌱
```