cli: announce on issue edit and comment
The `rad issue edit` and `rad issue comment` subcommands were not included in the announce check. Since these are considered write commands, they should also announce when executed.
This commit is contained in:
parent
ab6ca14c88
commit
eb432b9bc1
|
|
@ -31,6 +31,6 @@ found an important detail about the car's power requirements. It will help
|
|||
whoever works on a fix.
|
||||
|
||||
```
|
||||
$ rad issue comment 9037b7a42323d4b79e6a48b7d05d3bbaae11d69b --message 'The flux capacitor needs 1.21 Gigawatts' -q
|
||||
$ rad issue comment 9037b7a42323d4b79e6a48b7d05d3bbaae11d69b --message 'The flux capacitor needs 1.21 Gigawatts' -q --no-announce
|
||||
400cb155f512b4880858bb05f935104c34167b28
|
||||
```
|
||||
|
|
|
|||
|
|
@ -447,6 +447,8 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|||
| Operation::Delete { .. }
|
||||
| Operation::Assign { .. }
|
||||
| Operation::Label { .. }
|
||||
| Operation::Edit { .. }
|
||||
| Operation::Comment { .. }
|
||||
);
|
||||
|
||||
let mut issues = profile.issues_mut(&repo)?;
|
||||
|
|
|
|||
Loading…
Reference in New Issue