eggl dedash and eggl eol

Both commands recursively scan text files and provide the same safety controls.

CommandChange
eggl dedashReplace Unicode em-dashes with ASCII hyphens
eggl eolConvert CRLF or CR line endings to LF

Preview first

eggl dedash --dry-run
eggl eol --dry-run

Without --dry-run, the command asks for confirmation before writing. Use --yes in automation or when stdin is not a terminal.

Scope controls

eggl dedash --path ./docs --ext md,txt --dry-run
eggl eol --diff --dry-run
eggl dedash --diff-base main --dry-run
FlagDescription
--path <dir>Directory tree to scan; defaults to .
--dry-runReport changes without writing
-y, --yesSkip the write confirmation
--ext <list>Limit processing to extensions such as md,txt
--include-hiddenInclude dotfiles and dot-directories
--diffProcess staged or unstaged Git changes
--diff-base <ref>Process files changed since a Git ref

--diff and --diff-base are mutually exclusive. Binaries, common dependency directories, .git, and files larger than 50 MiB are skipped.