Skip to content

feat: add --file flag to load text from file for grammar fixing - #1

Open
xluffy wants to merge 1 commit into
huytd:mainfrom
xluffy-fork:feat/grammar-fix/support-file-input
Open

feat: add --file flag to load text from file for grammar fixing#1
xluffy wants to merge 1 commit into
huytd:mainfrom
xluffy-fork:feat/grammar-fix/support-file-input

Conversation

@xluffy

@xluffy xluffy commented Jun 17, 2026

Copy link
Copy Markdown

Changes

  • Add --file <path> support with POSIX file reading and error handling
  • Update README with prerequisites, CLT install guide, and --file usage docs
  • Add tests/fmf.txt as a test fixture with intentional grammar errors

Usage

# Direct text (unchanged)
./grammar-fix "he eat two apple"

# Load from file (new)
./grammar-fix --file document.txt

- Add --file <path> support with POSIX file reading and error handling
- Update README with prerequisites, CLT install guide, and usage docs
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.

1 participant