generate-fixtures v0.4.0
generate-fixtures 
Command line tool for easily generating test fixtures. Specify the number of files to create and the destination directory to write them to, and files and directories will be randomly generated in the specified destination.
Install
Install globally with npm:
npm i -g generate-fixturesRun tests
npm testCLI usage
Create fixtures
Specify the destination directory and the number (in any order) of fixtures to create:
Example
fixtures temp 10This will generate 10 files and folders at random depths in the ./temp directory.
You can also use -d or --dest to specify a directory, and -n or --number to specify the number.
Delete fixtures
Specify the directory to delete with --rm, along with --force:
Example
fixtures --rm temp --forceoptions
options.ext
The file extension to use on generated fixtures. Default is .js.
Example
fixtures 50 foo --ext .txtAuthor
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on October 30, 2014.