Module: commands
Contents
Modulesaudit- Blockchain event auditing.commit- AI-powered commit message generation.completions- Shell-completion emitter (resq completions <shell>).copyright- Copyright header management.dev- Development server management.docs- Documentation management and publication.explore- Service exploration and operations.format- Polyglot source formatting (Rust, TS, Python, C++, C#).hook_templates- Canonical git-hook templates embedded for scaffolding and drift detection.hooks- Hooks lifecycle (resq hooks install/scaffold-local/doctor/update/status).pre_commit- Pre-commit hook logic.secrets- Secret management.version- Version management and changesets.
Module: audit
Blockchain event auditing. Blockchain audit command. Queries Neo N3 and Solana blockchains for ResQ event records, providing audit trails for incident response and delivery verification.Module: commit
AI-powered commit message generation. AI-powered commit message generation from staged diffs.Module: completions
Shell-completion emitter (resq completions <shell>).
Shell-completion emitter.
Generates completion scripts for bash, zsh, fish, elvish, and powershell
by introspecting the clap-derived top-level Cli parser. Users wire the
output into their shell’s completion loader, e.g.:
Module: copyright
Copyright header management. Copyright header command. Checks and updates copyright headers in source files to ensure proper licensing and attribution.Module: dev
Development server management. ResQ Dev commands — Repository and development utilities.Module: docs
Documentation management and publication.Module: explore
Service exploration and operations. ResQ Explore commands — Unified TUI launcher.Module: format
Polyglot source formatting (Rust, TS, Python, C++, C#).resq format — polyglot formatter with a shared implementation that
powers both the standalone command and the pre-commit format steps.
Design: each language exports format_<lang>(root, files, check) —
pre-commit calls these on its staged file list and then restages; the
CLI wrapper (resq format) calls them on an empty list, which tells
each formatter to operate on the whole project.
Module: hook_templates
Canonical git-hook templates embedded for scaffolding and drift detection. Canonical git-hook templates embedded viainclude_str!.
Both resq dev install-hooks (scaffolding) and resq hooks doctor
(drift detection) read from this single source. The templates are kept
in sync with <https://github.com/resq-software/dev/tree/main/scripts/git-hooks>
and the repo-local .git-hooks/ — CI workflows in both repos enforce
byte equality.
Module: hooks
Hooks lifecycle (resq hooks install/scaffold-local/doctor/update/status).
resq hooks — visibility and maintenance for installed git hooks.
resq hooks doctorreports drift between installed.git-hooks/<file>and the canonical content embedded in this binary.resq hooks updaterewrites the canonical hooks (preserving anylocal-*files the repo committed).resq hooks statusprints a one-line summary suitable for shells.