cli: Add `--timeout` and `--count` to `node events`
modified radicle-cli/src/commands/node.rs
@@ -32,28 +32,33 @@ Usage
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -65,7 +70,10 @@ pub enum Operation {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -119,6 +127,8 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -149,6 +159,14 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -174,7 +192,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -197,8 +215,8 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/node/events.rs
@@ -2,12 +2,18 @@ use std::time;
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/terminal/args.rs
@@ -1,5 +1,6 @@
|
|
|
|
| + | |
|
|
|
|
|
@@ -132,6 +133,13 @@ pub fn number(val: &OsString) -> anyhow::Result<usize> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|