[PR #1742] Add pluginmap management command #3001

Closed
opened 2026-03-01 18:01:22 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/ArchiveBox/ArchiveBox/pull/1742

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/ArchiveBox/ArchiveBox/pull/1742 **State:** closed **Merged:** Yes --- 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. -->
kerem 2026-03-01 18:01:22 +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#3001
No description provided.