cli: rad id update --edit
Introduce an --edit option to rad id update to allow a user to open up their
text editor for changing the document’s contents.
2 files changed
+35
-6
f9c35231
→
43e08a8e
modified radicle-cli/examples/rad-id-update-delete-field.md
@@ -74,5 +74,5 @@ Note that we cannot delete mandatory fields:
|
|
|
|
|
|
| - | |
| + | |
|
modified radicle-cli/src/commands/id.rs
@@ -5,7 +5,7 @@ use std::{ffi::OsString, io};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -34,6 +34,7 @@ Usage
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -64,6 +65,7 @@ pub enum Operation {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -146,6 +148,7 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -237,6 +240,9 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -276,6 +282,7 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -385,6 +392,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -460,13 +468,34 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|