mirror of
https://github.com/HKUDS/CLI-Anything.git
synced 2026-09-19 01:27:10 +08:00
First REST HTTP API harness in the collection — AdGuardHome is a DNS-based ad blocker and privacy protection server exposing 58 endpoints across 14 tag groups, secured with HTTP Basic Auth. CLI covers all major API groups: - filter: list/add/remove/enable/disable/refresh/status/toggle - blocking: parental/safebrowsing/safesearch enable/disable/status - blocked-services: list/set - clients: list/add/remove/show - stats: show/reset/config - log: show/config/clear - rewrite: list/add/remove - dhcp: status/leases/add-static/remove-static - server: status/version/restart - config: show/save/test Features: --json output, REPL mode, --https flag, env vars (AGH_HOST etc), config file (~/.config/cli-anything-adguardhome.json) Tests: 36 passing (24 unit + 12 E2E via Docker adguard/adguardhome) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
115 lines
2.0 KiB
Plaintext
115 lines
2.0 KiB
Plaintext
# ============================================================
|
|
# Only track:
|
|
# - cli-anything-plugin/**
|
|
# - codex-skill/**
|
|
# - */agent-harness/** (under each software dir)
|
|
# - .gitignore
|
|
# Everything else is ignored.
|
|
# ============================================================
|
|
|
|
# Step 1: Ignore everything at the root
|
|
/*
|
|
|
|
# Step 2: Allow .gitignore, README, assets, and marketplace
|
|
!.gitignore
|
|
!/README.md
|
|
!/CONTRIBUTING.md
|
|
!/assets/
|
|
!/.claude-plugin/
|
|
!/.github/
|
|
|
|
# Step 3: Allow cli-anything-plugin, codex-skill, and skill_generation tests
|
|
!/cli-anything-plugin/
|
|
!/codex-skill/
|
|
!/skill_generation/
|
|
!/openclaw-skill/
|
|
|
|
# Step 4: Allow each software dir (top level only)
|
|
!/gimp/
|
|
!/blender/
|
|
!/inkscape/
|
|
!/audacity/
|
|
!/libreoffice/
|
|
!/obs-studio/
|
|
!/kdenlive/
|
|
!/shotcut/
|
|
!/anygen/
|
|
!/zoom/
|
|
!/drawio/
|
|
!/mermaid/
|
|
!/adguardhome/
|
|
|
|
# Step 5: Inside each software dir, ignore everything (including dotfiles)
|
|
/gimp/*
|
|
/gimp/.*
|
|
/blender/*
|
|
/blender/.*
|
|
/inkscape/*
|
|
/inkscape/.*
|
|
/audacity/*
|
|
/audacity/.*
|
|
/libreoffice/*
|
|
/libreoffice/.*
|
|
/obs-studio/*
|
|
/obs-studio/.*
|
|
/kdenlive/*
|
|
/kdenlive/.*
|
|
/shotcut/*
|
|
/shotcut/.*
|
|
/anygen/*
|
|
/anygen/.*
|
|
/zoom/*
|
|
/zoom/.*
|
|
/drawio/*
|
|
/drawio/.*
|
|
/mermaid/*
|
|
/mermaid/.*
|
|
/adguardhome/*
|
|
/adguardhome/.*
|
|
|
|
# Step 6: ...except agent-harness/
|
|
!/gimp/agent-harness/
|
|
!/blender/agent-harness/
|
|
!/inkscape/agent-harness/
|
|
!/audacity/agent-harness/
|
|
!/libreoffice/agent-harness/
|
|
!/obs-studio/agent-harness/
|
|
!/kdenlive/agent-harness/
|
|
!/shotcut/agent-harness/
|
|
!/anygen/agent-harness/
|
|
!/zoom/agent-harness/
|
|
!/drawio/agent-harness/
|
|
!/mermaid/agent-harness/
|
|
!/adguardhome/agent-harness/
|
|
|
|
# Step 7: Ignore build artifacts within allowed dirs
|
|
**/__pycache__/
|
|
**/*.egg-info/
|
|
**/*.pyc
|
|
**/dist/
|
|
**/build/
|
|
**/.pytest_cache/
|
|
**/*.egg
|
|
**/*.mp4
|
|
**/*.wav
|
|
**/*.blend
|
|
**/*.xcf
|
|
**/*.mlt
|
|
**/*.drawio
|
|
|
|
# Step 8: But allow assets images
|
|
!/assets/*.png
|
|
!/assets/*.jpg
|
|
|
|
assets/gen_typing_gif.py
|
|
!README_CN.md
|
|
!opencode-commands/
|
|
!/qoder-plugin/
|
|
|
|
# Step 10: Allow CLI Hub registry and frontend
|
|
!/registry.json
|
|
!/docs/
|
|
/docs/*
|
|
!/docs/hub/
|
|
|