Allow specifying multiple rids to the unseed the command
To keep expectations similar to the seed command after the changes in the companion patch:
rad patch show 3be0e68b8948e65431a288f225454bafd93de34a
3 files changed
+48
-8
6bbe919c
→
30182233
added radicle-cli/examples/rad-unseed-many.md
@@ -0,0 +1,22 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified radicle-cli/src/commands/unseed.rs
@@ -1,6 +1,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -14,10 +15,10 @@ pub const HELP: Help = Help {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -27,7 +28,7 @@ Options
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,12 +36,13 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -53,8 +55,8 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -66,7 +68,9 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/tests/commands.rs
@@ -1361,6 +1361,20 @@ fn rad_unseed() {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|