[PR #1742] [MERGED] Add pluginmap management command #1492

Closed
opened 2026-03-01 14:50:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1742
Author: @pirate
Created: 12/31/2025
Status: Merged
Merged: 12/31/2025
Merged by: @pirate

Base: devHead: claude/add-pluginmap-mgmt-command-JU61t


📝 Commits (1)

  • 672ccf9 Add pluginmap management command

📊 Changes

2 files changed (+358 additions, -0 deletions)

View changed files

📝 archivebox/cli/__init__.py (+2 -0)
archivebox/cli/archivebox_pluginmap.py (+356 -0)

📄 Description

Adds a new CLI command archivebox pluginmap that displays:

  • ASCII art diagrams of all core state machines (Crawl, Snapshot,
    ArchiveResult, Binary)
  • Lists all auto-detected on_Modelname_xyz hooks grouped by model/event
  • Shows hook execution order (step 0-9), plugin name, and background status

Usage:
archivebox pluginmap # Show all diagrams and hooks
archivebox pluginmap -m Snapshot # Filter to specific model
archivebox pluginmap -a # Include disabled plugins
archivebox pluginmap -q # Output JSON only


Summary by cubic

Adds a new archivebox pluginmap CLI command to visualize core state machines and list auto-detected hooks with execution order and background status. Helps debug plugin execution and supports filtering and JSON output.

  • New Features
    • New command: archivebox pluginmap
    • Shows ASCII diagrams for Crawl, Snapshot, ArchiveResult, Binary
    • Lists on_{Model}__* hooks grouped by model with step, plugin, bg, type
    • Flags: -m filter, -a include disabled, -q JSON-only
    • Command registered under CLI introspection commands

Written for commit 672ccf918d. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/1742 **Author:** [@pirate](https://github.com/pirate) **Created:** 12/31/2025 **Status:** ✅ Merged **Merged:** 12/31/2025 **Merged by:** [@pirate](https://github.com/pirate) **Base:** `dev` ← **Head:** `claude/add-pluginmap-mgmt-command-JU61t` --- ### 📝 Commits (1) - [`672ccf9`](https://github.com/ArchiveBox/ArchiveBox/commit/672ccf918d123b62100404df738cd20f05e844fc) Add pluginmap management command ### 📊 Changes **2 files changed** (+358 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `archivebox/cli/__init__.py` (+2 -0) ➕ `archivebox/cli/archivebox_pluginmap.py` (+356 -0) </details> ### 📄 Description Adds a new CLI command `archivebox pluginmap` that displays: - ASCII art diagrams of all core state machines (Crawl, Snapshot, ArchiveResult, Binary) - Lists all auto-detected on_Modelname_xyz hooks grouped by model/event - Shows hook execution order (step 0-9), plugin name, and background status Usage: archivebox pluginmap # Show all diagrams and hooks archivebox pluginmap -m Snapshot # Filter to specific model archivebox pluginmap -a # Include disabled plugins archivebox pluginmap -q # Output JSON only <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds a new archivebox pluginmap CLI command to visualize core state machines and list auto-detected hooks with execution order and background status. Helps debug plugin execution and supports filtering and JSON output. - **New Features** - New command: archivebox pluginmap - Shows ASCII diagrams for Crawl, Snapshot, ArchiveResult, Binary - Lists on_{Model}__* hooks grouped by model with step, plugin, bg, type - Flags: -m <Model> filter, -a include disabled, -q JSON-only - Command registered under CLI introspection commands <sup>Written for commit 672ccf918d123b62100404df738cd20f05e844fc. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 14:50:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#1492
No description provided.