query
On this page

toCommandLineShell

lib.cli.toCommandLineShell

Docs pulled from | This Revision | 4 days ago


Converts the given attributes into a single shell-escaped command-line string. Similar to toCommandLine, but returns a single escaped string instead of an array of arguments. For further reference see: lib.cli.toCommandLine


Noogle detected

Implementation

The following is the current implementation of this function.

toCommandLineShell =
    optionFormat: attrs: lib.escapeShellArgs (lib.cli.toCommandLine optionFormat attrs);