Linux command
alex 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Check
alex [file.md]
Example
alex [file1.md] [file2.md]
Example
echo "This is crazy" | alex --stdin
Example
alex --config [.alexrc] [file.md]
Example
alex --reporter json [file.md]
说明
alex catches insensitive, inconsiderate writing in text. It helps you find gender-favoring, polarizing, race-related, religion-inconsiderate, or other unequal phrasing in text. The tool is designed for documentation, README files, and other written content, helping teams maintain inclusive language in their projects.
参数
- --stdin
- Read from standard input
- --text
- Treat input as plain text (not markdown)
- --html
- Treat input as HTML
- --config _file_
- Configuration file path
- --reporter _type_
- Output format: json, compact, or default
- --quiet
- Only report errors
- --why
- Show detailed explanations
- -v, --version
- Display version
FAQ
What is the alex command used for?
alex catches insensitive, inconsiderate writing in text. It helps you find gender-favoring, polarizing, race-related, religion-inconsiderate, or other unequal phrasing in text. The tool is designed for documentation, README files, and other written content, helping teams maintain inclusive language in their projects.
How do I run a basic alex example?
Run `alex [file.md]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --stdin do in alex?
Read from standard input