cli: Add `rad node restart` command
Cause I’m too lazy to run rad node stop && rad node start.
1 file changed
+51
-5
a670b6e6
→
87816fb0
modified crates/radicle-cli/src/commands/node.rs
@@ -35,6 +35,7 @@ Usage
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -46,7 +47,7 @@ Usage
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -116,6 +117,12 @@ pub enum Operation {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -145,6 +152,7 @@ pub enum OperationName {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -186,6 +194,7 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -221,23 +230,43 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -257,6 +286,12 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -317,6 +352,17 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|