Can you get add the ip get ip address command
charlieporth1 opened this issue · 5 comments
charlieporth1 commented
Can you get add the ip get ip address command
rafaelrinaldi commented
@charlieporth1 You mean exposing it as a JavaScript module? Not sure what you want.
charlieporth1 commented
@rafaelrinaldi I'm talking you would input the -ip and that would be where you where at that ip and with whereami -f ip
would get your current location in ip format
rafaelrinaldi commented
@charlieporth1 Sorry I still don't understand. Can you provide me with an example of an ideal use case for you?
charlieporth1 commented
@rafaelrinaldi whereami -f ip
rafaelrinaldi commented
@charlieporth1 You can combine whereami
with jq
(thanks to Unix) to achieve what you want:
$ whereami --raw | jq '.ip'
Closing this issue.