Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Adjust README to new exit types
Erik Kundt committed 2 years ago
commit 91210160c4243a46aafa4ef5785044e358a29c93
parent db1ec6e488a12233baaae2419c8bc2baba5bf809
1 file changed +4 -18
modified README.md
@@ -33,39 +33,25 @@ The Radicle terminal interfaces are designed to be modular and to integrate well

#### Patches

-
Select a patch and an operation, return both formatted as `rad` command:
+
Select a patch and an operation:

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

Same as above:

```
$ rad tui patch select --operation
-
rad patch show 546443226b300484a97a2b2d7c7000af6e8169ba (stderr)
-
```
-

-
Select a patch and an operation, return both as JSON:
-

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

Select a patch only and return its id:

```
$ rad tui patch select --id
-
546443226b300484a97a2b2d7c7000af6e8169ba (stderr)
-
```
-

-
Select a patch only and return its id as JSON:
-

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

## License