drupflare/drangler - v0.1.0
    Preparing search index...

    Function parseTarget

    • Parses [user@]host[:port].

      Validated rather than passed through, because the result becomes argv for ssh. A host that could contain a leading - would be read by ssh as a flag, and one that could contain a space would need a shell to get there at all.

      Parameters

      • spec: string
      • root: string
      • Optionalidentity: string

      Returns SshTarget