string

Copies a string defined in source into a file specified by target.

 collections = {
   'my_files: {
      'driver': 'string',
      'source': 'Awesome, this is nice',
      'target': 'my_data/my_file.txt'
      }
   }
}

You can also use more complex strings by assigning them to a variable.

 my_string = """
 Headline
 ========

 Ohh **awesome**!

 Multiline!

 .. codeblock:: rst

    Works also
    ----------
 """

 collections = {
   'my_files: {
      'driver': 'string',
      'source': my_string,
      'target': 'my_data/my_file.txt'
      }
   }
}

Clean up behavior

During clean up the created target file gets deleted.