emre / storm

Manage your SSH like a boss.
http://stormssh.readthedocs.org/en/master/
MIT License
3.93k stars 172 forks source link

Add dry-run option when adding an entry #113

Closed grayaii closed 7 years ago

grayaii commented 8 years ago

It would be really cool if there was a way to write to stdout what the entry you are about to add to your ssh config file.

Something like this: storm add my_vps root@emreyilmaz.me:22 --dry-run

Host my_vps
    hostname emreyilmaz.me
    user root
    port 22

Technically, I could do something like this: storm add my_vps root@emreyilmaz.me:22 --config /tmp/foo.config

And then cat out /tmp/foo.config

But it would be cool if this tool did that :)

emre commented 8 years ago

hmm, sounds like a good idea. that's a todo.

emre commented 7 years ago

There was a PR about this but I didn't like the solution and the complexity behind it. I don't see much +1s to that PR, so I am closing it.

If there will be a better demand, we can revisit this later on. Thanks for the idea.