Cli utility that allows you to export links from your deep.
npm install --global deep-export
deep-export --url <url> --jwt <jwt> --file <file> [--overwrite] [--debug]
<>
- required
[] - optional
--url
: The URL to export data from. (required)
--jwt
: The JWT token. (required)
--file
: [Optional] Name of dump.
--overwrite
: Whether to overwrite your links if it already exists. [Optional]
--debug
: Allows you to see which links are inserted and in what order, which allows you to track down errors. [Optional]
Use npx
npx deep-export ...
deep-export
Add npm script that invokes deep-export
package.json
:
"scripts": {
"deep-export": "deep-export"
}
and run it with arguments by using npm run
and separating cli arguments by using --
(otherwise your arguments will be considered as arguments for npm run
command)
npm run deep-export -- ...