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

Support for deeper nested levels #26

Closed
numberwhun opened this issue Jul 12, 2013 · 4 comments
Closed

Support for deeper nested levels #26

numberwhun opened this issue Jul 12, 2013 · 4 comments

Comments

@numberwhun
Copy link

I am trying to do something like this:

"hosts": [
{
"name": "desktop",
"cmd": "ssh user@ip"
},
{
"env": [
{
"subenv": [
{
"name": "sapphire-manage-vpn",
"cmd": "ssh jkirkland@sapphire-manage-vpn"
},
{
"name": "sapphire-manage-vpn for svn",
"cmd": "ssh -R 8822:manage:22 jkirkland@sapphire-manage-vpn"
},
{
"name": "prod-mamage-vpn",
"cmd": "ssh jkirkland@prod-mamage-vpn"
}
]
}
]
},

Mind that this is a snippet, but as you can see, I have tried to nest one more level down and while the application does not complain about anything being wrong with the config file (it appears to parse it ok), the "env" menu item completely disappears from the main drop down menu. I assume its because it does not support the "subenv" submenu.

It would be nice, for organizational purposes, if the app supported these lower levels.

@jtymes
Copy link

jtymes commented Jul 12, 2013

There's a related discussion going in #14

@grundprinzip
Copy link
Contributor

The current code does not support more than one level of nesting, but this could be fixed...

@numberwhun
Copy link
Author

That would be awesome for deeper categorization.

@thoro
Copy link
Contributor

thoro commented Jul 17, 2013

Added in #36

@fitztrev fitztrev closed this as completed Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants