From 72dad241e2b990b826a4c5e9bd6fef09ca67bf3d Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Tue, 7 May 2024 15:39:41 +0200 Subject: [PATCH] =?UTF-8?q?cli:=20`rad=20cob=20{show=20=E2=86=92=20log}`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../examples/{rad-cob.md => rad-cob-log.md} | 6 +++--- radicle-cli/examples/rad-id.md | 2 +- radicle-cli/src/commands/cob.rs | 16 ++++++++-------- radicle-cli/tests/commands.rs | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) rename radicle-cli/examples/{rad-cob.md => rad-cob-log.md} (93%) diff --git a/radicle-cli/examples/rad-cob.md b/radicle-cli/examples/rad-cob-log.md similarity index 93% rename from radicle-cli/examples/rad-cob.md rename to radicle-cli/examples/rad-cob-log.md index 38d743d1..e9a061ce 100644 --- a/radicle-cli/examples/rad-cob.md +++ b/radicle-cli/examples/rad-cob-log.md @@ -61,7 +61,7 @@ aa45913e757cacd46972733bddee5472c78fa32a We can look at the issue COB. ``` -$ rad cob show --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --type xyz.radicle.issue --object d87dcfe8c2b3200e78b128d9b959cfdf7063fefe +$ rad cob log --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --type xyz.radicle.issue --object d87dcfe8c2b3200e78b128d9b959cfdf7063fefe commit d87dcfe8c2b3200e78b128d9b959cfdf7063fefe resource 0656c217f917c3e06234771e9ecae53aba5e173e author z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi @@ -82,7 +82,7 @@ date Thu, 15 Dec 2022 17:28:04 +0000 We can look at the patch COB too. ``` -$ rad cob show --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --type xyz.radicle.patch --object aa45913e757cacd46972733bddee5472c78fa32a +$ rad cob log --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --type xyz.radicle.patch --object aa45913e757cacd46972733bddee5472c78fa32a commit aa45913e757cacd46972733bddee5472c78fa32a resource 0656c217f917c3e06234771e9ecae53aba5e173e rel 3e674d1a1df90807e934f9ae5da2591dd6848a33 @@ -109,7 +109,7 @@ Finally let's updated the issue and see the `parent` header: ``` $ rad issue label d87dcfe --add bug --no-announce -$ rad cob show --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --type xyz.radicle.issue --object d87dcfe8c2b3200e78b128d9b959cfdf7063fefe +$ rad cob log --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --type xyz.radicle.issue --object d87dcfe8c2b3200e78b128d9b959cfdf7063fefe commit abec0a9f3c945594c4e78d24d8ec679e56b22b79 resource 0656c217f917c3e06234771e9ecae53aba5e173e parent d87dcfe8c2b3200e78b128d9b959cfdf7063fefe diff --git a/radicle-cli/examples/rad-id.md b/radicle-cli/examples/rad-id.md index 4873f541..e713baf0 100644 --- a/radicle-cli/examples/rad-id.md +++ b/radicle-cli/examples/rad-id.md @@ -93,7 +93,7 @@ $ rad inspect --identity We can also look at the document's COB directly: ``` -$ rad cob show --object 0656c217f917c3e06234771e9ecae53aba5e173e --type xyz.radicle.id --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji +$ rad cob log --object 0656c217f917c3e06234771e9ecae53aba5e173e --type xyz.radicle.id --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji commit 0ca42d376bd566631083c8913cf86bec722da392 parent 0656c217f917c3e06234771e9ecae53aba5e173e author z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi diff --git a/radicle-cli/src/commands/cob.rs b/radicle-cli/src/commands/cob.rs index e76fc512..6e4db40e 100644 --- a/radicle-cli/src/commands/cob.rs +++ b/radicle-cli/src/commands/cob.rs @@ -22,12 +22,12 @@ Usage rad cob [