Skip to content

create_file

Source

Hook to create an empty file - like touch.

Inputs

Name Type Default Required Description
path Union[str, list] True String or list of paths to create files at.

Arguments

Position Argument Type
1 path Union[str, list]

Returns

Union[str, list]

Examples

Basic

Create an empty file.

compact->: create_file path/to/file/to/create
expanded:
  ->: create_file
  path: path/to/file/to/read