Skip to content

feat: add logreader to workspace template example app#771

Merged
makeecat merged 1 commit into
masterfrom
yang/feat/template_workspace_logreader
Jan 31, 2026
Merged

feat: add logreader to workspace template example app#771
makeecat merged 1 commit into
masterfrom
yang/feat/template_workspace_logreader

Conversation

@makeecat

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a logreader binary + feature to the template app and wires in the optional export dependency (cu29-export).
  • Introduces a logreader entrypoint and justfile helpers for extracting logs (just log / just cl).
  • Updates template docs to describe logreader usage per app.

Changes

  • templates/cu_full/apps/cu_example_app/Cargo.toml.template: adds bin cu_example_app-logreader, feature logreader, and optional dep cu29-export.
  • templates/cu_full/apps/cu_example_app/src/logreader.rs: new logreader main using run_cli::<CuStampedDataSet>().
  • templates/cu_full/justfile: adds log and cl recipes for log extraction.
  • templates/cu_full/README.md: mentions just log / just cl.
  • templates/cu_full/apps/README.md: clarifies each app owns its logreader binary.

Testing

  • just std-ci
  • just lint
  • cd templates; cargo +stable generate -p cu_full --name test_workspace --destination . -d copper_source=local -d copper_root_path=../.. --silent
    • cargo run
    • just log
    • just cl
    • just rcfg

Checklist

  • I have updated docs or examples where needed
  • I have added or updated tests where needed
  • I have considered platform impact (Linux/macOS/Windows/embedded)
  • I have considered config/logging changes (if applicable)
  • This change is not a breaking change (or I documented it below)

@makeecat makeecat self-assigned this Jan 30, 2026
@makeecat makeecat requested a review from gbin January 30, 2026 16:38
@makeecat makeecat merged commit 1f254b1 into master Jan 31, 2026
27 of 28 checks passed
@makeecat makeecat deleted the yang/feat/template_workspace_logreader branch January 31, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant