Skip to content

Latest commit

 

History

History
93 lines (63 loc) · 1015 Bytes

README.md

File metadata and controls

93 lines (63 loc) · 1015 Bytes

IL Phone Numbers Generator

Usage


To view all options run:

$ ./il_numbers_generator --help

Simple usage of creating all '050' combinations:

$ ./il_numbers_generator -p 050

this will result the file (il_nums.txt):

0500000001
0500000002
0500000003
0500000004
0500000005
0500000006
0500000007
...

Note: you can enter multiple prefixes seperated by comma/space

$ ./il_numbers_generator -p 050 054 052
$ ./il_numbers_generator -p 050, 054, 052

Example of changing final output file name:

$ ./il_numbers_generator -p 050 -o somthing_else.txt

this will result the file (somthing_else.txt):

0500000001
0500000002
0500000003
0500000004
0500000005
0500000006
0500000007
...

Compile / Dev


Run the cargo:

$ cargo run -- --help

Compile:

$ cargo build --release

License


MIT © Yitzhakpro