mmeyer724 / sshmenu

MIT License
56 stars 12 forks source link

Would it be possible to nest groups #11

Open thomas-vt opened 6 years ago

thomas-vt commented 6 years ago

If there are large number of hosts.. it may be easier to navigate menu if it's nested logically, and you can then traverse through groups and will then list actual hosts

eg: Group 1 -host1 -host2 Group 2 -host3 -host4

Hosts will be displayed only when you navigate to specific group.

Would it be possible to include this feature.

Thanks.

mmeyer724 commented 6 years ago

It would be possible, but I'm not a fan of the clutter this would add to both the UI and the code.

You can pass an alternate configuration file name using --configname <name. Perhaps you could create a separate config for each 'group' and call them with a bash alias? This is of course assuming that you know the group you want upfront.