返回顶部
h

halo-cli-authHalo CLI 认证

Use when working with Halo CLI login, bearer token or basic auth, profile setup, profile switching, current profile inspection, or fixing missing keyring credentials.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.1
安全检测
已通过
164
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

halo-cli-auth

Halo CLI 认证

使用此技能处理 halo auth 和 halo auth profile 命令。

如果尚未设置认证,请在运行 post、single-page、plugin、theme、attachment、backup、moment、comment 或 notification 命令之前先完成认证设置。

命令

bash
halo auth --help
halo auth login --help
halo auth profile --help

主要工作流程:

  • - halo auth login
  • halo auth current
  • halo auth profile list
  • halo auth profile current
  • halo auth profile get
  • halo auth profile use
  • halo auth profile delete
  • halo auth profile doctor

常见流程

使用 Bearer Token 登录:

bash
halo auth login \
--profile local \
--url http://127.0.0.1:8090 \
--auth-type bearer \
--token

使用基本认证登录:

bash
halo auth login \
--profile local \
--url http://127.0.0.1:8090 \
--auth-type basic \
--username admin \
--password

查看和切换配置:

bash
halo auth current
halo auth profile list
halo auth profile use production
halo auth profile get production --json

诊断损坏的凭证:

bash
halo auth profile doctor
halo auth profile delete production --force
halo auth login --profile production --url https://halo.example.com --auth-type bearer --token

规则

  • - 在非交互模式下,halo auth login 需要 --profile、--url 和 --auth-type 参数。
  • basic 认证需要 --username 和 --password 参数。
  • bearer 认证需要 --token 参数。
  • 当其他工具需要结构化输出时,使用 --json 参数。
  • profile delete 是破坏性操作;在非交互模式下需要使用 --force 参数。
  • 配置元数据存储在配置文件中,但密钥存储在系统密钥环中。

路由

  • - 使用 halo-cli-content 处理文章和单页。
  • 使用 halo-cli-search 进行公开站点搜索。
  • 使用 halo-cli-operations 处理主题、插件、附件、备份和动态。
  • 使用 halo-cli-moderation-notifications 处理评论、回复和通知。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 halo-cli-auth-1776124562 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 halo-cli-auth-1776124562 技能

通过命令行安装

skillhub install halo-cli-auth-1776124562

下载

⬇ 下载 halo-cli-auth v0.1.1(免费)

文件大小: 1.53 KB | 发布时间: 2026-4-14 13:59

v0.1.1 最新 2026-4-14 13:59
- Version bumped from 1.0.0 to 0.1.1.
- No file changes detected; functionality and documentation remain unchanged.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部