cliEncode

text cliEncode(text)

Returns the text encoded for safe use as a shell command line argument.

This encoding wraps the text in single quote characters so it’s safely interpreted as a single argument.

Parameters

  1. text — text to encode.

Returns