4.0.0 • Published 3 days ago

@commercelayer/cli-plugin-imports v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

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 imports [ID]

List all the created imports or show details of a single import.

USAGE
  $ commercelayer imports [ID] [-A | -l <value>] [-t
    addresses|bundles|coupons|customer_addresses|customer_payment_sources|customer_subscriptions|customers|gift_cards|li
    ne_items|line_item_options|orders|price_tiers|prices|shipping_categories|sku_lists|sku_list_items|sku_options|skus|s
    tock_items|tags|tax_categories] [-g <value> | ] [-s in_progress|pending|completed|interrupted] [-e] [-w]

ARGUMENTS
  ID  unique id of the import to be retrieved

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
  -s, --status=<option>  the import job status
                         <options: in_progress|pending|completed|interrupted>
  -t, --type=<option>    the type of resource imported
                         <options: addresses|bundles|coupons|customer_addresses|customer_payment_sources|customer_subscr
                         iptions|customers|gift_cards|line_items|line_item_options|orders|price_tiers|prices|shipping_ca
                         tegories|sku_lists|sku_list_items|sku_options|skus|stock_items|tags|tax_categories>
  -w, --warnings         show only import with warnings

DESCRIPTION
  list all the created imports or show details of a single import

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

commercelayer imports:create

Create a new import.

USAGE
  $ commercelayer imports:create -t
    addresses|bundles|coupons|customer_addresses|customer_payment_sources|customer_subscriptions|customers|gift_cards|li
    ne_items|line_item_options|orders|price_tiers|prices|shipping_categories|sku_lists|sku_list_items|sku_options|skus|s
    tock_items|tags|tax_categories [-p <value>] [-D ,|;|||TAB (-C -i <value>)] [-b | -q | ]

FLAGS
  -C, --csv                                                    accept input file in CSV format
  -D, --delimiter=<option>                                     the delimiter character used in the CSV input file (one
                                                               of ',', ';', '|', TAB)
                                                               <options: ,|;|||TAB>
  -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
  -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=addresses|bundles|coupons|customer_addresses|...  (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

ARGUMENTS
  ID  unique id of the import

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 [-l] [-S <value> -i]

ARGUMENTS
  ID  unique id of the import

FLAGS
  -S, --save-inputs=<value>  save import inputs to local file
  -i, --inputs               show input items associated with the import
  -l, --logs                 show warning and error logs related to the import process

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

ARGUMENTS
  GROUP_ID  unique id of the group import

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 [-A | -l <value>] [-t
    addresses|bundles|coupons|customer_addresses|customer_payment_sources|customer_subscriptions|customers|gift_cards|li
    ne_items|line_item_options|orders|price_tiers|prices|shipping_categories|sku_lists|sku_list_items|sku_options|skus|s
    tock_items|tags|tax_categories] [-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
  -s, --status=<option>  the import job status
                         <options: in_progress|pending|completed|interrupted>
  -t, --type=<option>    the type of resource imported
                         <options: addresses|bundles|coupons|customer_addresses|customer_payment_sources|customer_subscr
                         iptions|customers|gift_cards|line_items|line_item_options|orders|price_tiers|prices|shipping_ca
                         tegories|sku_lists|sku_list_items|sku_options|skus|stock_items|tags|tax_categories>
  -w, --warnings         show only import with warnings

DESCRIPTION
  list all the created imports

ALIASES
  $ 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 [-O]

FLAGS
  -O, --open  open online documentation page

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

4.0.0

3 days ago

4.0.0-rc.5

9 days ago

4.0.0-rc.2

17 days ago

4.0.0-rc.4

17 days ago

4.0.0-oclif3.8

20 days ago

4.0.0-rc.1

20 days ago

4.0.0-oclif3.7

21 days ago

4.0.0-oclif3.5

21 days ago

4.0.0-oclif3.6

21 days ago

4.0.0-oclif3.2

2 months ago

4.0.0-oclif3.3

2 months ago

4.0.0-oclif3.4

2 months ago

3.10.1

2 months ago

3.11.0

2 months ago

4.0.0-oclif3.1

3 months ago

3.10.0

3 months ago

3.9.1

5 months ago

3.7.5

10 months ago

3.7.4

10 months ago

3.7.3

10 months ago

3.9.0

5 months ago

3.7.2

10 months ago

3.7.6

8 months ago

3.8.0

5 months ago

3.7.1

10 months ago

3.7.0

10 months ago

3.6.1

10 months ago

3.6.0

12 months ago

3.5.1

1 year ago

3.5.0

1 year ago

3.4.1

1 year ago

3.4.0

1 year ago

3.3.1

1 year ago

3.3.0

1 year ago

3.3.2

1 year ago

3.2.1

2 years ago

3.2.0

2 years ago

3.1.6

2 years ago

3.1.5

2 years ago

3.1.3

2 years ago

3.1.4

2 years ago

3.1.1

2 years ago

2.2.0-beta.1

2 years ago

1.4.5

2 years ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.3.3

2 years ago

1.4.1

2 years ago

1.3.2

2 years ago

1.4.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

2.3.0

2 years ago

2.2.1

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.1.3

2 years ago

2.2.4

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

3.1.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

1.2.0

2 years ago

1.2.1

2 years ago

1.1.1

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.1

3 years ago