Skip to main content

halo-cli-shared

Use when a task involves Halo CLI, Halo CMS command-line operations, or terminal-based Halo management. Also use when you need shared rules for profiles, JSON output, help discovery, config paths, and destructive actions. Trigger this skill whenever the user mentions 'halo', 'Halo CLI', or terminal operations for Halo CMS, even if the specific command area is not yet clear.

소스 정보

저장소
halo-dev/cli
최근 소스 활동
2026년 11월 3일 07:56
감지된 SKILL.md 언어
영어
스타
30
포크
5

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
halo-cli-shared
version
1.0.0
description
Use when a task involves Halo CLI, Halo CMS command-line operations, or terminal-based Halo management. Also use when you need shared rules for profiles, JSON output, help discovery, config paths, and destructive actions. Trigger this skill whenever the user mentions 'halo', 'Halo CLI', or terminal operations for Halo CMS, even if the specific command area is not yet clear.
metadata
{"openclaw":{"category":"developer-tools","requires":{"bins":"[Truncated]"},"cliHelp":"halo --help"}}
# Halo CLI Shared Start here when the task says "use Halo CLI" but does not yet say whether it is auth, content, search, operations, or moderation. ## Install And Verify Install globally: ```bash npm install -g @halo-dev/cli ``` Binary name: ```bash halo ``` Check version and top-level help: ```bash halo --version halo --help ``` ## Top-Level Areas - `auth` - `post` - `single-page` - `search` - `plugin` - `theme` - `attachment` - `backup` - `moment` - `comment` - `notification` - `shop` — Halo Pro/Commercial shop management - `completion <shell>` — Generate shell completion script (bash, zsh, fish, powershell) ## Shared Rules - Most command areas require an authenticated profile. - Use `halo auth login` to create a profile. - Use `--profile <name>` when more than one profile exists. - Use `--json` when output is meant for automation or follow-up parsing. - In non-interactive mode, dangerous commands usually require `--force`. - Read `--help` before guessing flags for a specific command. ## Public vs Authenticated Most areas require auth. The main public workflow is `halo search`, which can use a direct site URL without login: ```bash halo search --keyword "halo" --url https://www.halo.run ``` ## Config And Secrets Profile metadata is stored in: - `$HALO_CLI_CONFIG_DIR/config.json` if `HALO_CLI_CONFIG_DIR` is set - otherwise `$XDG_CONFIG_HOME/halo/config.json` - otherwise `~/.config/halo/config.json` Credentials are stored in the system keyring. ## Routing - Use `halo-cli-auth` for login, current profile, profile list/use/delete, and credential repair. - Use `halo-cli-content` for posts and single pages. - Use `halo-cli-search` for public site search. - Use `halo-cli-operations` for themes, plugins, attachments, backups, and moments. - Use `halo-cli-moderation-notifications` for comments, replies, and notifications. - Use `halo-cli-shop` for products, orders, customers, coupons, discounts, shop statistics, and shop configuration.
GitHub에서 보기