Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commercelayer/cli-plugin-exports

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercelayer/cli-plugin-exports - npm Package Compare versions

Comparing version 2.1.8 to 2.1.9

2

lib/commands/exports/all.js

@@ -328,3 +328,3 @@ "use strict";

}
ExportsAll.hidden = true;
ExportsAll.hidden = false;
ExportsAll.description = 'export all the records';

@@ -331,0 +331,0 @@ ExportsAll.aliases = ['exp:all', 'export'];

{
"version": "2.1.8",
"version": "2.1.9",
"commands": {

@@ -11,3 +11,3 @@ "exports:all": {

"pluginType": "core",
"hidden": true,
"hidden": false,
"aliases": [

@@ -14,0 +14,0 @@ "exp:all",

{
"name": "@commercelayer/cli-plugin-exports",
"description": "Commerce Layer CLI Exports plugin",
"version": "2.1.8",
"version": "2.1.9",
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",

@@ -47,21 +47,21 @@ "bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-exports/issues",

"@commercelayer/cli-dev": "^2.0.5",
"@commercelayer/eslint-config-ts": "^1.0.1",
"@oclif/plugin-help": "^5.2.17",
"@oclif/test": "^2.4.6",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.5.2",
"@types/node-notifier": "^8.0.2",
"chai": "^4.3.7",
"eslint": "^8.47.0",
"@commercelayer/eslint-config-ts": "^1.1.0",
"@oclif/plugin-help": "^5.2.20",
"@oclif/test": "^2.5.6",
"@types/chai": "^4.3.7",
"@types/mocha": "^10.0.2",
"@types/node": "^20.8.4",
"@types/node-notifier": "^8.0.3",
"chai": "^4.3.10",
"eslint": "^8.51.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"dependencies": {
"@commercelayer/cli-core": "^3.12.1",
"@commercelayer/sdk": "^5.12.5",
"@oclif/core": "^2.11.8",
"axios": "^1.4.0",
"@commercelayer/sdk": "^5.16.0",
"@oclif/core": "^2.15.0",
"axios": "^1.5.1",
"cli-table3": "^0.6.3",

@@ -68,0 +68,0 @@ "node-notifier": "^10.0.1",

@@ -28,2 +28,3 @@ # @commercelayer/cli-plugin-exports

* [`commercelayer exports [ID]`](#commercelayer-exports-id)
* [`commercelayer exports:all`](#commercelayer-exportsall)
* [`commercelayer exports:create`](#commercelayer-exportscreate)

@@ -66,2 +67,49 @@ * [`commercelayer exports:details ID`](#commercelayer-exportsdetails-id)

### `commercelayer exports:all`
Export all the records.
```sh-session
USAGE
$ commercelayer exports:all -t
addresses|bundles|coupons|customer_subscriptions|customers|gift_cards|line_items|orders|payment_methods|price_tiers|
prices|shipments|shipping_categories|shipping_methods|sku_lists|sku_list_items|sku_options|skus|stock_items|tax_cate
gories|transactions|authorizations|captures|voids|refunds [-i <value>] [-w <value>] [-D] [-F csv|json | -C | ] [-x
<value> | -X <value>] [-b] [-P | ] [-O] [-q] [-k]
FLAGS
-C, --csv export data in CSV format
-D, --dry-data skip redundant attributes
-F, --format=<option> [default: json] export file format
<options: csv|json>
-O, --open open automatically the file after a successful export
-P, --prettify prettify json output format
-X, --save-path=<value> save command output to file and create missing path
directories
-b, --blind execute in blind mode without showing the progress
monitor
-i, --include=<value>... comma separated resources to include
-k, --keep keep original export files in temp dir
-q, --quiet execute command without showing warning messages
-t, --type=addresses|bundles|coupons|customer_subscriptions|... (required) the type of resource being exported
-w, --where=<value>... comma separated list of query filters
-x, --save=<value> save command output to file
DESCRIPTION
export all the records
ALIASES
$ commercelayer exp:all
$ commercelayer export
EXAMPLES
$ commercelayer exports:all -t cusorderstomers -X <output-file-path>
$ cl exp:all -t customers -i customer_subscriptions -w email_end=@test.org -X <output-file-path>
$ cl export -t skus -w code_start=SHIRT -X <output-file-path> --csv
```
_See code: [src/commands/exports/all.ts](https://github.com/commercelayer/commercelayer-cli-plugin-exports/blob/main/src/commands/exports/all.ts)_
### `commercelayer exports:create`

@@ -68,0 +116,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc