https://github.com/aimenux/phonecli
A net global tool helping to generate and validate phone numbers
https://github.com/aimenux/phonecli
cli-tool fluent-assertions fluent-validation libphonenumber net60 net70 phone-number xunit-tests
Last synced: 4 months ago
JSON representation
A net global tool helping to generate and validate phone numbers
- Host: GitHub
- URL: https://github.com/aimenux/phonecli
- Owner: aimenux
- License: mit
- Created: 2023-05-01T21:52:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-07T22:04:36.000Z (about 2 years ago)
- Last Synced: 2024-10-02T11:10:05.944Z (9 months ago)
- Topics: cli-tool, fluent-assertions, fluent-validation, libphonenumber, net60, net70, phone-number, xunit-tests
- Language: C#
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/aimenux/PhoneCli/actions/workflows/ci.yml)
[](https://www.nuget.org/packages/PhoneCli/)# PhoneCli
```
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 `Generate` to generate phone numbers
> - Use sub command `Validate` to validate phone numbers
> - Use sub command `Info` to get country/calling phone codes
>
>
> To install global tool from [nuget source](https://www.nuget.org/packages/PhoneCli), type command :
> - For stable version : `dotnet tool install -g PhoneCli --ignore-failed-sources`
> - For prerelease version : `dotnet tool install -g PhoneCli --version "*-*" --ignore-failed-sources`
>
>
> To install global tool from a local source path, type command :
> - `dotnet tool install -g --configfile .\nugets\local.config PhoneCli --version "*-*" --ignore-failed-sources`
>
>
> To uninstall global tool, type command :
> - `dotnet tool uninstall -g PhoneCli`
>
>
> To run global tool, type commands :
> - `PhoneCli -h` to show help
> - `PhoneCli -s` to show settings
> - `PhoneCli Generate` to generate phone numbers
> - `PhoneCli Validate` to validate phone numbers
> - `PhoneCli Info` to get country/calling phone codes
>
>
> 
>**`Tools`** : net 6.0/7.0/8.0, command-line, spectre-console, libphonenumber, fluent-validation, fluent-assertions, xunit