A simple cli tool that can be used to to trace a provided IP made using Cobra library
I just didn't want to feel like I was wasting my time. That is my motivation.
-
Make sure that you have git installed before cloning.
-
Install the cobra-cli using the command:
go install github.com/spf13/cobra-cli@latest
-
clone this repository:
git clone https://github.com/Rehmanareeb/Cobra-cli-IPtrace
-
Open your terminal and navigate to the cloned repository: cd Cobra-cli-IPtrace
-
Install it in the go path:
go install .
-
Run the command to trace the IP:
iptracker trace <ip>
If you find any issues in the code or at any place just open a pull request and fix it and submit it.
Happy-coding.