cli: error on no id update
If rad id is called with no arguments, or just --title and
--description, then it will fail because there were no changes made
to the identity.
Check if the proposal document is the same the current document,
and if so supply a hint and a better error.
2 files changed
+12
-0
864ca656
→
18fc41c5
modified radicle-cli/examples/rad-id.md
@@ -147,3 +147,11 @@ $ rad id update --title "Add Eve" --description "Add Eve as a delegate" --delega
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified radicle-cli/src/commands/id.rs
@@ -380,6 +380,10 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|