Profpatsch 582354d3b6 lib/cli: encodeGNUCommandLine -> toGNUCommandLineShell
The semantic difference between `encode` and `to` is not apparent.
Users are likely to confuse both functions (which leads to unexpected
error messages about the wrong types). Like in `generators.nix`, all
functions should be prefixed by `to`.

Furthermore, converting to a string depends on the target context. In
this case, it’s a POSIX shell, so we should name it that (compare
`escapeShellArg` in `strings.nix`).

We can later add versions that escape for embedding in e.g. python
scripts or similar.
2020-01-23 14:47:38 +01:00
..
2019-08-28 11:07:32 +00:00
2019-04-17 15:55:57 +01:00
2019-08-28 11:07:32 +00:00
2020-01-17 08:31:22 -03:00
2019-09-06 22:46:05 +02:00
2018-11-22 08:59:48 +00:00
2019-08-26 02:01:49 +02:00
2019-09-26 17:42:42 +02:00