files/mutable-files: improve module documentation

This commit is contained in:
Gabriel Arazas 2023-09-18 14:39:34 +08:00
parent 9352d93b79
commit eaa16e5c7b
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -43,11 +43,11 @@ let
This accept only certain keywords. This accept only certain keywords.
- For `fetch`, the file will be fetched with `curl`. - For `fetch`, the file will be fetched with {command}`curl`.
- For `git`, it will be fetched with `git clone`. - For `git`, it will be fetched with {command}`git clone`.
- For `archive`, the file will be fetched with `curl` and extracted - For `archive`, the file will be fetched with {command}`curl` and
before putting the file. extracted before putting the file.
- For `gopass`, the file will be cloned with `gopass`. - For `gopass`, the file will be cloned with {command}`gopass`.
- For `custom`, the file will be passed with a user-given command. - For `custom`, the file will be passed with a user-given command.
The `extraArgs` option is now assumed to be a list of a command and The `extraArgs` option is now assumed to be a list of a command and
its arguments. its arguments.