cli: Add `--from` and other options to `rad seed`
Gives the same options to rad seed as rad sync --fetch.
Allows seeding and syncing from specific seeds in one command:
rad seed
Useful for seeding private repos on public nodes.
3 files changed
+48
-3
765fc48c
→
9edb633d
modified radicle-cli/examples/rad-init-private-clone-seed.md
@@ -43,3 +43,11 @@ $ rad clone rad:z2ug5mwNKZB8KGpBDRTrWHAMbvHCu --seed z6MknSLrJoTcukLrE435hVNQT4J
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified radicle-cli/src/commands/seed.rs
@@ -1,4 +1,6 @@
| + | |
|
|
| + | |
|
|
|
|
|
@@ -20,7 +22,7 @@ pub const HELP: Help = Help {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -36,6 +38,8 @@ Usage
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -47,6 +51,8 @@ pub enum Operation {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -66,6 +72,8 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -83,6 +91,18 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -98,6 +118,8 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -111,13 +133,22 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/node.rs
@@ -39,6 +39,12 @@ impl SyncSettings {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|