Skip to content

Feature request: command map suffix #366

Open

Description

@ain

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'")

Activity

  1. leehambley commented on Aug 9, 2016

    @leehambley
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions