rafaelrinaldi/whereami

Can you get add the ip get ip address command

charlieporth1 opened this issue · 5 comments

Can you get add the ip get ip address command

@charlieporth1 You mean exposing it as a JavaScript module? Not sure what you want.

@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

@charlieporth1 Sorry I still don't understand. Can you provide me with an example of an ideal use case for you?

@rafaelrinaldi whereami -f ip

@charlieporth1 You can combine whereami with jq (thanks to Unix) to achieve what you want:

$ whereami --raw | jq '.ip'

Closing this issue.