execute
Writes text content to the filesystem at the specified absolute path.
Performs validation before writing:
Verifies the content is not empty
Creates parent directories if they don't exist
Overwrites any existing file content
Return
Result containing the written file with its metadata
Parameters
args
arguments specifying the file path and content to write
Throws
if content is empty or the target is not a file after writing the content