danielmiessler.fabric/internal/plugins/db/fsdb
alecjmckanna 0d7e1f7d52
feat: add --readpattern flag to print pattern contents to terminal
Adds a new `--readpattern <name>` CLI flag that prints the raw contents
of a named pattern's system.md file to stdout. This makes it easy to
inspect what instructions a pattern sends to the model without having
to navigate the filesystem manually.

The implementation respects custom patterns directories: it checks the
user's custom patterns directory first before falling back to the main
patterns directory, consistent with how all other pattern lookups work.
2026-04-15 00:43:16 -04:00
..
contexts.go refactor: restructure project to align with standard Go layout 2025-07-08 22:47:17 -07:00
contexts_test.go refactor: restructure project to align with standard Go layout 2025-07-08 22:47:17 -07:00
db.go feat: replace hardcoded error strings with i18n translation keys 2026-02-21 13:28:52 -08:00
db_test.go refactor: restructure project to align with standard Go layout 2025-07-08 22:47:17 -07:00
patterns.go feat: add --readpattern flag to print pattern contents to terminal 2026-04-15 00:43:16 -04:00
patterns_test.go feat: add --readpattern flag to print pattern contents to terminal 2026-04-15 00:43:16 -04:00
sessions.go feat: replace hardcoded error strings with i18n translation keys 2026-02-21 13:28:52 -08:00
sessions_test.go refactor: restructure project to align with standard Go layout 2025-07-08 22:47:17 -07:00
storage.go feat: replace hardcoded error strings with i18n translation keys 2026-02-21 13:28:52 -08:00
storage_test.go refactor: restructure project to align with standard Go layout 2025-07-08 22:47:17 -07:00