← Back to wkappbot-workflow
wkappbot-workflow
★★★
file -- Read/Write/Edit/Grep/Glob Cheatsheet
wkappbot file tools for filesystem access. edit auto-creates .bak/ backup. glob MUST use **/ prefix. After edit, U+FFFD corruption triggers auto Slack alert.
user/developer
filereadwriteeditgrepglobencodingreference
Steps
- READ: wkappbot file read <path> [--offset N]...
- GREP: wkappbot file grep "pattern" --path di...
- GLOB: wkappbot file glob "**/*.cs" --path di...
- EDIT: wkappbot file edit <path> --old "..."...
- UNDO: wkappbot file undo <path> -- restore f...
- WRITE: wkappbot file write <path> --content...
- ! CP949 files: Korean source with Han commen...
- ! After edit: U+FFFD detected -> auto Slack...
- wkappbot file edit PATH --old-string 'text'...
- REPLACE-ALL GOTCHA: if --new-string contains...
- SHEBANG EXPANSION BUG (2026-05-26): wkappbot...
- STARVATION FALLBACK for grep: when the built...
- wkappbot file write temp files: use dollar-A...