cli: Allow unseed to use repository name
- We try unseeding a repo by it’s name if the given arg is not a valid RID
- We error out if the name is ambiguous
$ cargo run -- unseed rips
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
Running `/home/pksunkara/Coding/open/heartwood/target/debug/rad unseed rips`
✓ Seeding policy for rad:z3trNYnLWS11cJWC6BbxDs5niGo82 removed
- We try unseeding a repo by it’s name if the given arg is not a valid RID
- We error out if the name is ambiguous
$ cargo run -- unseed rips
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
Running `/home/pksunkara/Coding/open/heartwood/target/debug/rad unseed rips`
✓ Seeding policy for rad:z3trNYnLWS11cJWC6BbxDs5niGo82 removed
Thanks for the contribution!
Since this is only tackling one CLI command, we’re going to archive it for the time being. We would like to take a holistic approach to being able to refer to repositories by name. You can see the issue here https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/issues/f8f95c41605a6493dbdf057f9f04b2f7d0758a86
We will likely use your work again when tackling the patch series :)