query
On this page

toCommandLineShell

lib.cli.toCommandLineShell

Docs pulled from | This Revision | 28 minutes ago


Nixpkgs manual

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

Noogle detected

Implementation

The following is the current implementation of this function.

toCommandLineShell = optionFormat: attrs: escapeShellArgs (toCommandLine optionFormat attrs);