## write_file
write_file(name, out, content, is_executable, kwargs)
Creates a UTF-8 encoded text file. ### Parameters
name required.

Name of the rule.

out required.

Path of the output file, relative to this package.

content optional. default is []

A list of strings. Lines of text, the contents of the file. Newlines are added automatically after every line except the last one.

is_executable optional. default is False

A boolean. Whether to make the output file executable. When True, the rule's output can be executed using `bazel run` and can be in the srcs of binary and test rules that require executable sources.

kwargs optional.

further keyword arguments, e.g. `visibility`