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

@commercelayer/cli-plugin-imports

Package Overview
Dependencies
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercelayer/cli-plugin-imports

Commerce Layer CLI Imports plugin

  • 3.1.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26
decreased by-70.45%
Maintainers
3
Weekly downloads
 
Created
Source

cli-plugin-imports

Commerce Layer CLI Imports plugin

oclif Version Downloads/week License

Usage

$ commercelayer COMMAND

$ commercelayer [COMMAND] (--help | -h) for detailed information about plugin commands.

Commands

commercelayer imp:create

Create a new import.

USAGE
  $ commercelayer imp:create [FAKE-ARG] -o <value> -t
    orders|coupons|skus|sku_lists|sku_list_items|prices|stock_items|gift_cards|customers|customer_subscriptions|tax_cate
    gories [-p <value>] (-C -i <value>) [-b | -q | ]

FLAGS
  -C, --csv                                     accept input file in CSV format
  -b, --blind                                   execute in blind mode without showing the progress monitor
  -i, --inputs=<value>                          (required) the path of the file containing the data to import
  -o, --organization=<value>                    (required) the slug of your organization
  -p, --parent=<value>                          the id of the parent resource to be associated with imported data
  -q, --quiet                                   execute command without showing warning messages
  -t, --type=orders|coupons|skus|sku_lists|...  (required) the type of resource being imported

DESCRIPTION
  create a new import

ALIASES
  $ commercelayer imp:create
  $ commercelayer import

EXAMPLES
  $ commercelayer imports:create -t stock_items -p <stock_location-id> -i <input-file-path>

  $ cl imp:create -t skus -i <input-file-path>

commercelayer imp:delete ID

Delete an existing import.

USAGE
  $ commercelayer imp:delete [ID] -o <value>

ARGUMENTS
  ID  unique id of the import

FLAGS
  -o, --organization=<value>  (required) the slug of your organization

DESCRIPTION
  delete an existing import

ALIASES
  $ commercelayer imp:delete

EXAMPLES
  $ commercelayer imports:delete <import-id>>

  $ cl imp:delete <import-id>>

commercelayer imp:details ID

Show the details of an existing import.

USAGE
  $ commercelayer imp:details [ID] -o <value> [-i] [-l]

ARGUMENTS
  ID  unique id of the import

FLAGS
  -i, --inputs                show input items associated with the import
  -l, --logs                  show warning and error logs related to the import process
  -o, --organization=<value>  (required) the slug of your organization

DESCRIPTION
  show the details of an existing import

ALIASES
  $ commercelayer imp:details

EXAMPLES
  $ commercelayer imports:details <import-id>

  $ cl imp:details <import-id> -i

  $ cl imp:details <import-id> -i -l

commercelayer imp:group GROUP_ID

List all the imports related to an import group.

USAGE
  $ commercelayer imp:group [GROUP_ID] -o <value>

ARGUMENTS
  GROUP_ID  unique id of the group import

FLAGS
  -o, --organization=<value>  (required) the slug of your organization

DESCRIPTION
  list all the imports related to an import group

ALIASES
  $ commercelayer imp:group

EXAMPLES
  $ commercelayer imports:group <group-id>

  $ cl imp:group <group-id>

commercelayer imp:list

List all the created imports.

USAGE
  $ commercelayer imp:list [FAKE-ARG] -o <value> [-A | -l <value>] [-t
    orders|coupons|skus|sku_lists|sku_list_items|prices|stock_items|gift_cards|customers|customer_subscriptions|tax_cate
    gories] [-g <value> | ] [-s in_progress|pending|completed|interrupted] [-e] [-w]

FLAGS
  -A, --all                   show all imports instead of first 25 only
  -e, --errors                show only imports with errors
  -g, --group=<value>         the group ID associated to the import in case of multi-chunk imports
  -l, --limit=<value>         limit number of imports in output
  -o, --organization=<value>  (required) the slug of your organization
  -s, --status=<option>       the import job status
                              <options: in_progress|pending|completed|interrupted>
  -t, --type=<option>         the type of resource imported
                              <options: orders|coupons|skus|sku_lists|sku_list_items|prices|stock_items|gift_cards|custo
                              mers|customer_subscriptions|tax_categories>
  -w, --warnings              show only import with warnings

DESCRIPTION
  list all the created imports

ALIASES
  $ commercelayer imports
  $ commercelayer imp:list

EXAMPLES
  $ commercelayer imports

  $ cl imports:list -A

  $ cl imp:list

commercelayer imp:types

Show online documentation for supported resources.

USAGE
  $ commercelayer imp:types

DESCRIPTION
  show online documentation for supported resources

ALIASES
  $ commercelayer imp:types

EXAMPLES
  $ commercelayer imports:types

  $ cl imp:types

commercelayer import

Create a new import.

USAGE
  $ commercelayer import [FAKE-ARG] -o <value> -t
    orders|coupons|skus|sku_lists|sku_list_items|prices|stock_items|gift_cards|customers|customer_subscriptions|tax_cate
    gories [-p <value>] (-C -i <value>) [-b | -q | ]

FLAGS
  -C, --csv                                     accept input file in CSV format
  -b, --blind                                   execute in blind mode without showing the progress monitor
  -i, --inputs=<value>                          (required) the path of the file containing the data to import
  -o, --organization=<value>                    (required) the slug of your organization
  -p, --parent=<value>                          the id of the parent resource to be associated with imported data
  -q, --quiet                                   execute command without showing warning messages
  -t, --type=orders|coupons|skus|sku_lists|...  (required) the type of resource being imported

DESCRIPTION
  create a new import

ALIASES
  $ commercelayer imp:create
  $ commercelayer import

EXAMPLES
  $ commercelayer imports:create -t stock_items -p <stock_location-id> -i <input-file-path>

  $ cl imp:create -t skus -i <input-file-path>

commercelayer imports

List all the created imports.

USAGE
  $ commercelayer imports -o <value> [-A | -l <value>] [-t
    orders|coupons|skus|sku_lists|sku_list_items|prices|stock_items|gift_cards|customers|customer_subscriptions|tax_cate
    gories] [-g <value> | ] [-s in_progress|pending|completed|interrupted] [-e] [-w]

FLAGS
  -A, --all                   show all imports instead of first 25 only
  -e, --errors                show only imports with errors
  -g, --group=<value>         the group ID associated to the import in case of multi-chunk imports
  -l, --limit=<value>         limit number of imports in output
  -o, --organization=<value>  (required) the slug of your organization
  -s, --status=<option>       the import job status
                              <options: in_progress|pending|completed|interrupted>
  -t, --type=<option>         the type of resource imported
                              <options: orders|coupons|skus|sku_lists|sku_list_items|prices|stock_items|gift_cards|custo
                              mers|customer_subscriptions|tax_categories>
  -w, --warnings              show only import with warnings

DESCRIPTION
  list all the created imports

See code: src/commands/imports/index.ts

commercelayer imports:create

Create a new import.

USAGE
  $ commercelayer imports:create [FAKE-ARG] -o <value> -t
    orders|coupons|skus|sku_lists|sku_list_items|prices|stock_items|gift_cards|customers|customer_subscriptions|tax_cate
    gories [-p <value>] (-C -i <value>) [-b | -q | ]

FLAGS
  -C, --csv                                     accept input file in CSV format
  -b, --blind                                   execute in blind mode without showing the progress monitor
  -i, --inputs=<value>                          (required) the path of the file containing the data to import
  -o, --organization=<value>                    (required) the slug of your organization
  -p, --parent=<value>                          the id of the parent resource to be associated with imported data
  -q, --quiet                                   execute command without showing warning messages
  -t, --type=orders|coupons|skus|sku_lists|...  (required) the type of resource being imported

DESCRIPTION
  create a new import

ALIASES
  $ commercelayer imp:create
  $ commercelayer import

EXAMPLES
  $ commercelayer imports:create -t stock_items -p <stock_location-id> -i <input-file-path>

  $ cl imp:create -t skus -i <input-file-path>

See code: src/commands/imports/create.ts

commercelayer imports:delete ID

Delete an existing import.

USAGE
  $ commercelayer imports:delete [ID] -o <value>

ARGUMENTS
  ID  unique id of the import

FLAGS
  -o, --organization=<value>  (required) the slug of your organization

DESCRIPTION
  delete an existing import

ALIASES
  $ commercelayer imp:delete

EXAMPLES
  $ commercelayer imports:delete <import-id>>

  $ cl imp:delete <import-id>>

See code: src/commands/imports/delete.ts

commercelayer imports:details ID

Show the details of an existing import.

USAGE
  $ commercelayer imports:details [ID] -o <value> [-i] [-l]

ARGUMENTS
  ID  unique id of the import

FLAGS
  -i, --inputs                show input items associated with the import
  -l, --logs                  show warning and error logs related to the import process
  -o, --organization=<value>  (required) the slug of your organization

DESCRIPTION
  show the details of an existing import

ALIASES
  $ commercelayer imp:details

EXAMPLES
  $ commercelayer imports:details <import-id>

  $ cl imp:details <import-id> -i

  $ cl imp:details <import-id> -i -l

See code: src/commands/imports/details.ts

commercelayer imports:group GROUP_ID

List all the imports related to an import group.

USAGE
  $ commercelayer imports:group [GROUP_ID] -o <value>

ARGUMENTS
  GROUP_ID  unique id of the group import

FLAGS
  -o, --organization=<value>  (required) the slug of your organization

DESCRIPTION
  list all the imports related to an import group

ALIASES
  $ commercelayer imp:group

EXAMPLES
  $ commercelayer imports:group <group-id>

  $ cl imp:group <group-id>

See code: src/commands/imports/group.ts

commercelayer imports:list

List all the created imports.

USAGE
  $ commercelayer imports:list [FAKE-ARG] -o <value> [-A | -l <value>] [-t
    orders|coupons|skus|sku_lists|sku_list_items|prices|stock_items|gift_cards|customers|customer_subscriptions|tax_cate
    gories] [-g <value> | ] [-s in_progress|pending|completed|interrupted] [-e] [-w]

FLAGS
  -A, --all                   show all imports instead of first 25 only
  -e, --errors                show only imports with errors
  -g, --group=<value>         the group ID associated to the import in case of multi-chunk imports
  -l, --limit=<value>         limit number of imports in output
  -o, --organization=<value>  (required) the slug of your organization
  -s, --status=<option>       the import job status
                              <options: in_progress|pending|completed|interrupted>
  -t, --type=<option>         the type of resource imported
                              <options: orders|coupons|skus|sku_lists|sku_list_items|prices|stock_items|gift_cards|custo
                              mers|customer_subscriptions|tax_categories>
  -w, --warnings              show only import with warnings

DESCRIPTION
  list all the created imports

ALIASES
  $ commercelayer imports
  $ commercelayer imp:list

EXAMPLES
  $ commercelayer imports

  $ cl imports:list -A

  $ cl imp:list

See code: src/commands/imports/list.ts

commercelayer imports:types

Show online documentation for supported resources.

USAGE
  $ commercelayer imports:types

DESCRIPTION
  show online documentation for supported resources

ALIASES
  $ commercelayer imp:types

EXAMPLES
  $ commercelayer imports:types

  $ cl imp:types

See code: src/commands/imports/types.ts

Keywords

FAQs

Package last updated on 25 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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