Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
Update README to latest JSON specs
Merged did:key:z6MkgFq6...nBGz opened 2 years ago
1 file changed +48 -13 1f2b15ad 4986ec0e
modified README.md
@@ -23,7 +23,7 @@ Or directly from our seed node:

    cargo install --force --locked --git https://seed.radicle.xyz/z39mP9rQAaGmERfUMPULfPUi473tY.git

-
This will install `rad-tui`. You can execute it by running `rad tui`. All available commands can be shown by running `rad tui --help`.
+
This will install `rad-tui`. You can execute it by running `rad-tui`. All available commands can be shown by running `rad-tui --help`.

## Interfaces

@@ -35,24 +35,59 @@ The Radicle terminal interfaces are designed to be modular and to integrate well

Select a patch and an operation:

-
```
-
$ rad tui patch select
-
{ "operation": "show", "id": "546443226b300484a97a2b2d7c7000af6e8169ba", args:[] } (stderr)
-
```
+
    $ rad-tui patch select
+
    { "operation": "show", "ids": ["546443226b300484a97a2b2d7c7000af6e8169ba"], args:[] }
+


Same as above:

-
```
-
$ rad tui patch select --operation
-
{ "operation": "show", "id": "546443226b300484a97a2b2d7c7000af6e8169ba", args:[] } (stderr)
-
```
+
    $ rad-tui patch select --mode operation
+
    { "operation": "show", "ids": ["546443226b300484a97a2b2d7c7000af6e8169ba"], args:[] }

Select a patch only and return its id:

-
```
-
$ rad tui patch select --id
-
{ "operation": "null", "id": "546443226b300484a97a2b2d7c7000af6e8169ba", args:[] } (stderr)
-
```
+
    $ rad-tui patch select --mode id
+
    { "operation": "null", "ids": ["546443226b300484a97a2b2d7c7000af6e8169ba"], args:[] }
+

+
#### Issues
+

+
Select an issue and an operation:
+

+
    $ rad-tui issue select
+
    { "operation": "show", "ids": ["12f019e3f9f52d88b470a3d7fb922452ebaca39e"], args:[] }
+

+

+
Same as above:
+

+
    $ rad-tui issue select --mode operation
+
    { "operation": "show", "ids": ["12f019e3f9f52d88b470a3d7fb922452ebaca39e"], args:[] }
+

+

+
Select an issue only and return its id:
+

+
    $ rad-tui issue select --mode id
+
    { "operation": "null", "ids": ["12f019e3f9f52d88b470a3d7fb922452ebaca39e"], args:[] }
+

+

+
#### Inbox
+

+
Select a notification and an operation:
+

+
    $ rad-tui inbox select
+
    { "operation": "show", "ids": ["1"], args:[] }
+

+

+
Same as above:
+

+
    $ rad-tui inbox select --mode operation
+
    { "operation": "show", "ids": ["1"], args:[] }
+

+

+
Select a notification only and return its id:
+

+
    $ rad-tui inbox select --mode id
+
    { "operation": "null", "ids": ["1"], args:[] }
+


## License