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: command map suffix #366

Open
ain opened this issue Aug 9, 2016 · 1 comment
Open

Feature request: command map suffix #366

ain opened this issue Aug 9, 2016 · 1 comment

Comments

@ain
Copy link

ain commented Aug 9, 2016

suffix addition, similarly to prefix, would add flexibility to the commands handled, also in terms of combinations, e.g. along the lines of:

SSHKit.config.command_map.prefix[command].push("bash -lc '")
SSHKit.config.command_map.suffix[command].push(" && exit 0'")
@leehambley
Copy link
Member

hey @ain nice to run into you again!

If you can prepare a patch we'd be quite likely to merge it, I can't yet think of any edge-cases that are likely landmines, only that there are some and that's why this hasn't been done before, but let's get it started, as this is long overdue as a feature in general

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