---
name: php186-skill-19917
description: "用于管理 Halo 评论或回复、创建官方回复、列出未读通知、删除通知或标记通知为已读。"
---

# Halo Cli Moderation Notifications

## Halo CLI Moderation And Notifications

 

Use this skill for ` halo comment `, ` halo comment reply `, and ` halo notification `.

 

## Commands

 

```
halo comment --help
halo comment reply --help
halo notification --help
```

 

## Comments

 

Common flows:

 

```
halo comment list
halo comment list --approved=false
halo comment list --owner-kind Post --owner-name my-post
halo comment get comment-abc123
halo comment approve comment-abc123
halo comment delete comment-abc123 --force
```

 

Useful filters for ` comment list `:

 

- ` --page `
- ` --size `
- ` --keyword `
- ` --owner-name `
- ` --owner-kind `
- ` --approved `
- ` --sort `

 

## Replies

 

Common flows:

 

```
halo comment reply list
halo comment reply list --comment comment-abc123
halo comment reply get reply-abc123
halo comment reply approve reply-abc123
halo comment reply delete reply-abc123 --force
```

 

Create a reply:

 

```
halo comment create-reply comment-abc123 --content "Thanks for your feedback"
halo comment create-reply comment-abc123 --content "Following up here" --quote-reply reply-abc123
halo comment create-reply comment-abc123 --content "Internal note" --hidden
```

 

Rules:

 

- In non-interactive mode, ` create-reply ` requires ` --content `.
- ` create-reply ` creates an already approved reply in console context.
- Replies can be quoted with ` --quote-reply `.

 

## Notifications

 

Common flows:

 

```
halo notification list
halo notification list --unread=false
halo notification get notification-abc123
halo notification mark-as-read notification-abc123
halo notification mark-as-read --all
halo notification delete notification-abc123 --force
```

 

Useful filters for ` notification list `:

 

- ` --page `
- ` --size `
- ` --unread `
- ` --sort `

 

## Safety And Automation

 

- Use ` --profile <name> ` when moderating a non-default environment.
- Use ` --json ` for machine-readable moderation pipelines.
- Use ` --force ` for destructive deletes in non-interactive mode.
- If a resource is not found, confirm the selected profile and exact resource name.
