Skip to content

How to CLI

n4n5 edited this page Jun 19, 2021 · 3 revisions

How to use csv-to-custom-json with CLI

Package installed in node_modules

If the package is installed as a node_modules, you can use CLI with a npm script

Here is the package.json

{
   ...
   "scripts": {
        "cli": "csv-to-custom-json YOUR_OPTIONS..."
    },
    ...
}

Legend :

  • You can now run it with npm run cli
  • You can change YOUR_OPTIONS... with corrects options

Package installed globally

You can use the command

csv-to-custom-json YOUR_OPTIONS...

Legend :

  • You can change YOUR_OPTIONS... with corrects options

Options

Soon...

Clone this wiki locally