Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request(s) - config, display public IP, and open #24

Open
andyjeffries opened this issue Apr 27, 2016 · 0 comments
Open

Feature request(s) - config, display public IP, and open #24

andyjeffries opened this issue Apr 27, 2016 · 0 comments

Comments

@andyjeffries
Copy link

It would be really nice if there was a ~/.leapsrc or something (maybe TOML or JSON, something easy to parse in Go) you could define options in.

Then if you had a config file you could put options like the following:

auto_open=true
local_ip=192.168.1.*

So when you run leaps, it would automatically look within ifconfig's output for an IP address matching local_ip (because on a DHCP LAN this often changes), and then can automatically open (by shelling out to the OS X open command) a browser to the correct URL (ready to copy and paste and share to someone).

Just used it with one of our more junior developers, and getting them from running leaps to sharing the URL with me still had the above hurdles - the suggestion above would remove them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants