A net global tool helping to retrieve ip infos
$ dotnet add package IpCliA net global tool helping to retrieve ip infos
In this repo, i m building a global tool that allows to retrieve ip infos.
The tool is based on multiple sub commands :
- Use sub command
Publicto get public ip infos- Use sub command
Privateto get private ip infos
To run the tool, type commands :
IpCli -hto show help
IpCli -sto show settings
IpCli Publicto get public ip infos
IpCli Privateto get private ip infosTo install global tool from a local source path, type commands :
dotnet tool install -g --configfile .\nugets\local.config IpCli --version "*-*" --ignore-failed-sourcesTo install global tool from nuget source, type these command :
- For stable version :
dotnet tool install -g IpCli --ignore-failed-sources- For prerelease version :
dotnet tool install -g IpCli --version "*-*" --ignore-failed-sourcesTo uninstall global tool, type these command :
dotnet tool uninstall -g IpCli
Tools : vs22, net 6.0/7.0, command-line, spectre-console, polly, fluent-validation, fluent-assertions, xunit