0.0.4 • Published 9 years ago

errand-component-file v0.0.4

Weekly downloads
3
License
-
Repository
github
Last release
9 years ago

#errand-component-file

errand task for working with files

errand-component-file is an errand component that is used to work with files

##Usage:

Example of how to use errand-component-file in errand task list follows.

{
  "tasks":
    [
      {
        "description": "task to append some data to a file",
        "task": "errand-component-file",
        "parameters":
          {
            "method": "append",
            "filename": "some.json",
            "data": {"foo": "bar"},
            "newline": true

          }
      }
    ]
}

Where:

  • description desribes task
  • task is the name of task
  • parameters.method instruction for task, options:
  • parameters.filename is the name of the file to apply method to
  • parameters.data contains data for file operation
  • parameters.newline if true append newline to data
0.0.4

9 years ago

0.0.3

10 years ago

0.0.1

10 years ago