cli: reject `rad id` proposals that do not verify
To ensure that the rad id command does not modify the project payload without
it being able to be deserialized into the Project type, the command performs
this check throught the project method, and returns an error if this fails.
2 files changed
+12
-0
11a1bca0
→
cb2cbf01
modified radicle-cli/examples/rad-id-update-delete-field.md
@@ -69,3 +69,10 @@ $ rad id update --title "Delete field" --description "Delete 'web'" --payload xy
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified radicle-cli/src/commands/id.rs
@@ -390,6 +390,11 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|