Files
heartwood/radicle-cli/examples
Fintan Halpenny f26be552c2 cli: improve rad id allow list UX
The previous implementation of using the `--allow` option in `rad id
update` would be an absolute list, rather than additive. That is, if
there were existing DIDs not passed in via `--allow` then they would
be remove.

Change this behaviour to check the existing value of the document's
allow list, and add to it if `--allow` is specified.

To enable the user to also remove a DID, the `--disallow` option is
also added.

The correct usage of these options is improved by checking the
validity of the `--visibility` option being used, the current state of
the repository's privacy, and the use of the `--allow` and
`--disallow` options.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2024-06-20 17:22:38 +02:00
..
2024-04-18 17:09:45 +02:00
2024-06-04 14:08:15 +02:00
2024-03-11 10:46:09 +01:00
2024-06-04 14:08:15 +02:00
2023-11-09 13:04:40 +01:00
2024-06-04 11:10:29 +02:00
2024-04-09 16:09:44 +02:00
2024-01-08 17:28:01 +01:00
2024-03-09 14:01:30 +01:00
2024-02-26 14:23:13 +01:00
2023-12-11 12:04:26 +01:00