Skip to content

feat: add --quiet/-q flag to suppress output#39

Merged
yarlson merged 1 commit intomainfrom
feat/quiet-flag
Feb 28, 2026
Merged

feat: add --quiet/-q flag to suppress output#39
yarlson merged 1 commit intomainfrom
feat/quiet-flag

Conversation

@yarlson
Copy link
Owner

@yarlson yarlson commented Feb 28, 2026

Summary

  • Adds --quiet/-q persistent flag to suppress all output
  • When set, Writer methods become no-ops — only exit code matters
  • Useful for shell startup: lnk pull -q in .bashrc/.zshrc

Closes #27

Test plan

  • Existing tests updated to pass quiet: false to SetGlobalConfig
  • Writer quiet behavior verified through the config struct
  • Full test suite passes locally

Useful for running lnk commands in shell startup scripts (e.g.
`lnk pull -q` in .bashrc) where only the exit code matters.

Closes #27
@yarlson yarlson merged commit 7aa1249 into main Feb 28, 2026
7 checks passed
@yarlson yarlson deleted the feat/quiet-flag branch February 28, 2026 17:36
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.

Feature Request: "Quiet" flag

1 participant