Skip to content

PR: feat: add sdb render subcommand #22 - #23

Merged
metasmile merged 3 commits into
mainfrom
22-render-quick-name
Jul 21, 2026
Merged

PR: feat: add sdb render subcommand #22#23
metasmile merged 3 commits into
mainfrom
22-render-quick-name

Conversation

@metasmile

Copy link
Copy Markdown
Contributor

Add sdb render <name> convenience subcommand for quick short-name document rendering.

  • Locate .qmd files by stem matching (exact > suffix > substring)
  • Support path fragments with / in pattern
  • Multi-pattern support: sdb render kv id wp
  • Interactive prompt on multiple matches; --all to skip
  • Per-pattern progress label ([1/3]) and summary output
  • Raw execution without SDBS preprocessing pipeline

Closes #22

Add `sdb render` to locate `.qmd` files by short name and render them
directly via `quarto render`, and `sdb clean` to remove Quarto build
artifacts.
@metasmile metasmile self-assigned this Jul 21, 2026
Refactor quick_render into two phases: select_qmd_files (interactive
file discovery) and render_qmd (single-file rendering).  The CLI
handler now collects selected files across all patterns, deduplicates
them when the same file matches multiple patterns, and prompts the
user for dedup strategy before rendering.
@metasmile
metasmile merged commit 4db632b into main Jul 21, 2026
1 check passed
@metasmile
metasmile deleted the 22-render-quick-name branch July 21, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sdb render subcommand for quick short-name document rendering

1 participant