machinepack-fs
Advanced tools
Comparing version 11.0.0 to 11.0.1
@@ -18,2 +18,8 @@ module.exports = { | ||
destination: { | ||
example: '/Users/mikermcneil/.tmp/bar.json', | ||
description: 'Absolute path for the destination file (if relative path is provided, will resolve path from current working directory).', | ||
required: true | ||
}, | ||
json: { | ||
@@ -25,8 +31,2 @@ example: '*', | ||
destination: { | ||
example: '/Users/mikermcneil/.tmp/bar.json', | ||
description: 'Absolute path for the destination file (if relative path is provided, will resolve path from current working directory).', | ||
required: true | ||
}, | ||
force: { | ||
@@ -33,0 +33,0 @@ description: 'Overwrite files or directories which might exist at or within the specified destination path?', |
@@ -12,2 +12,8 @@ module.exports = { | ||
destination: { | ||
example: '/Users/mikermcneil/.tmp/bar.json', | ||
description: 'Absolute path for the destination file (if relative path is provided, will resolve path from current working directory).', | ||
required: true | ||
}, | ||
sourceStream: { | ||
@@ -20,8 +26,2 @@ description: 'The source (Readable) stream whose contents will be pumped to disk.', | ||
destination: { | ||
example: '/Users/mikermcneil/.tmp/bar.json', | ||
description: 'Absolute path for the destination file (if relative path is provided, will resolve path from current working directory).', | ||
required: true | ||
}, | ||
force: { | ||
@@ -28,0 +28,0 @@ description: 'Overwrite files or directories which might exist at or within the specified destination path?', |
@@ -21,2 +21,8 @@ module.exports = { | ||
destination: { | ||
description: 'Path (relative or absolute) to the file to write.', | ||
example: '/Users/mikermcneil/.tmp/bar', | ||
required: true | ||
}, | ||
string: { | ||
@@ -28,8 +34,2 @@ description: 'Text to write to the file (if omitted, will create an empty file).', | ||
destination: { | ||
description: 'Path (relative or absolute) to the file to write.', | ||
example: '/Users/mikermcneil/.tmp/bar', | ||
required: true | ||
}, | ||
force: { | ||
@@ -36,0 +36,0 @@ description: 'Whether to overwrite existing file(s) which might exist at the destination path.', |
{ | ||
"name": "machinepack-fs", | ||
"version": "11.0.0", | ||
"version": "11.0.1", | ||
"description": "Work with the local filesystem; list files, write files, etc.", | ||
@@ -5,0 +5,0 @@ "scripts": { |