A net global tool helping to generate and validate phone numbers
In this repo, i m building a global tool that allows to generate and validate phone numbers.
The tool is based on multiple sub commands :
- Use sub command
Generateto generate phone numbers- Use sub command
Validateto validate phone numbers- Use sub command
Infoto get country/calling phone codesTo install global tool from nuget source, type command :
- For stable version :
dotnet tool install -g PhoneCli --ignore-failed-sources- For prerelease version :
dotnet tool install -g PhoneCli --version "*-*" --ignore-failed-sourcesTo install global tool from a local source path, type command :
dotnet tool install -g --configfile .\nugets\local.config PhoneCli --version "*-*" --ignore-failed-sourcesTo uninstall global tool, type command :
dotnet tool uninstall -g PhoneCliTo run global tool, type commands :
PhoneCli -hto show helpPhoneCli -sto show settingsPhoneCli Generateto generate phone numbersPhoneCli Validateto validate phone numbersPhoneCli Infoto get country/calling phone codes
Tools : net 6.0/7.0/8.0, command-line, spectre-console, libphonenumber, fluent-validation, fluent-assertions, xunit