A command-line interface (CLI) tool to generate dummy CSV files using Deno.
Please visit the release page to download the latest version.
csvgen --layout <input> [-d <delimiter>] [-o <filepath>] [-n <rows>]
- -h, --help: Show this help.
- -V, --version: Show the version number for this program.
- -l, --layout <input>: Path to the layout file (required).
- -d, --delimiter <delimiter>: Specify the delimiter (Default: "comma", Values: "comma", "tab", "space", "pipe").
- -o, --output <filepath>: Path to the output file (Default: "./dummy.csv").
- -n, --rows <rows>: Number of rows (Default: 10).
- --no-header: Generate CSV without header.
Replace <input>
, <delimiter>
, <filepath>
, and <rows>
with the
appropriate values according to your usage.
Output a sample JSON layout file.
csvgen layout
This command will output a sample JSON layout file named layout-sample.json to the current directory.