mlequer / typos-generator-command
console command to generate typos
v0.1.0
2020-02-14 19:58 UTC
Requires
- php: ^7.2.5
- mlequer/typos-generator: ^2.0
- symfony/config: ^5.0
- symfony/console: ^5.0
- symfony/dependency-injection: ^5.0
- symfony/http-kernel: ^5.0
- symfony/yaml: ^5.0
Requires (Dev)
- brainmaestro/composer-git-hooks: ^2.8
- phpmd/phpmd: @stable
- phpstan/phpstan: ^0.12.9
- squizlabs/php_codesniffer: ^3.0
- symfony/phpunit-bridge: ^5.0
This package is auto-updated.
Last update: 2025-01-15 06:26:19 UTC
README
Typos generator command line tool
Installation
Install the latest version with
$ composer require mlequer/typos-generator-command
Usage
$ bin/console typos:generate something -gd
ssomething
soomething
sommething
someething
sometthing
somethhing
somethiing
somethinng
somethingg
somethighng
somethinng
sewmething
sowmething
sumthing
view the command line help --help
for options.
$ bin/console typos:generate --help
Description:
Return generated typos for a word
Usage:
typos:generate [options] [--] <word>
Arguments:
word Word
Options:
-w, --wrong-keys generate wrong key typos
-m, --missed-chars generate missed chars typos
-t, --transposed-chars generate transposed chars typos
-d, --double-chars generate double chars typos
-f, --flip-bits generate flip-bits typos
-g, --generate-homophones generate homophones typos
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug