# kibo-import-export-utility

> Kibo Import Export Utility

Latest version **0.0.2** (published 2021-10-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install kibo-import-export-utility
pnpm add kibo-import-export-utility
yarn add kibo-import-export-utility
bun add kibo-import-export-utility
```

Provides the command `kibo-import-export`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-10-21 |
| First published | 2021-10-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10.x |
| Dependencies | 6 |
| Unpacked size | 20.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kibo Software |
| Maintainers | dirkelfman |

## Links

- npm: https://www.npmjs.com/package/kibo-import-export-utility
- npm.io page: https://npm.io/package/kibo-import-export-utility

## Dependencies (6)

- [dotenv](https://npm.io/package/dotenv.md) ^10.0.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.5
- [cli-spinner](https://npm.io/package/cli-spinner.md) ^0.2.10
- [zip-a-folder](https://npm.io/package/zip-a-folder.md) ^1.1.0
- [command-line-args](https://npm.io/package/command-line-args.md) ^5.2.0
- [command-line-usage](https://npm.io/package/command-line-usage.md) ^6.1.1

## Recent versions

- 0.0.2 (latest) — 2021-10-21
- 0.0.1 — 2021-10-21

## README

# Kibo Import Export Helper Utility

## usage
* install the dependencies
```
npm i
```

* Copy example.env to an .env  
```
$ cp templates/example.env .env
```
* update the .env file with your tenant info and credentials
```
KIBO_APPLICATION_KEY=my.sample_app.1.0.0.Release
KIBO_SHARED_SECRET=d537b23b1acc4f768134686c2caa53fb
KIBO_API=https://t30294.sandbox.mozu.com
KIBO_HOME=https://home.mozu.com
KIBO_NAMESPACE=current
```
* create/modify an export template
```
{
  "domain": "catalog",
  "resources": [
    {
      "resource": "products",
      "format": "legacy",
      "fields": ["*"]
    }
  ]
}
```

* perform an export

```
$ node index.js export -t templates/products_export.json -n myexport -o export1.zip
```



## Parameters

---
|  paramater | alias  | notes  |   |   |
|---|---|---|---|---|
| command  |   | only valid command is export (import to comming soon)  |   |   |
| template | t  | location of import or export template  |   |   |
| output  | o  | location to  place output zip  |   |   |
| name | n | name to lable the import or export job

---
_Source: https://npm.io/package/kibo-import-export-utility · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
