Skip to content

takuyaw-w/deno-csvgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno CSV Generator (deno-csvgen)

A command-line interface (CLI) tool to generate dummy CSV files using Deno.

Installation

Please visit the release page to download the latest version.

Usage

csvgen --layout <input> [-d <delimiter>] [-o <filepath>] [-n <rows>]

Options

  • -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.

Subcommands

layout

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published