npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@commercelayer/cli-plugin-cleanups

v3.0.0

Published

Commerce Layer CLI Cleanups plugin

Downloads

324

Readme

@commercelayer/cli-plugin-cleanups

Commerce Layer CLI Cleanups plugin

oclif Version Downloads/week License

Usage

commercelayer COMMAND

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

Commands

commercelayer cleanups [ID]

List all the created cleanups or show details of a single cleanup.

USAGE
  $ commercelayer cleanups [ID] [-A | -l <value>] [-t
    bundles|gift_cards|prices|promotions|sku_lists|sku_options|skus|stock_items] [-s
    in_progress|pending|completed|interrupted]

ARGUMENTS
  ID  unique id of the cleanup to be retrieved

FLAGS
  -A, --all              show all cleanups instead of first 25 only
  -l, --limit=<value>    limit number of cleanups in output
  -s, --status=<option>  the cleanup job status
                         <options: in_progress|pending|completed|interrupted>
  -t, --type=<option>    the type of resource cleaned
                         <options: bundles|gift_cards|prices|promotions|sku_lists|sku_options|skus|stock_items>

DESCRIPTION
  list all the created cleanups or show details of a single cleanup

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

commercelayer cleanups:create

Create a new cleanup.

USAGE
  $ commercelayer cleanups:create -t bundles|gift_cards|prices|promotions|sku_lists|sku_options|skus|stock_items [-w
    <value>] [-b | -q | ]

FLAGS
  -b, --blind                                          execute in blind mode without showing the progress monitor
  -q, --quiet                                          execute command without showing warning messages
  -t, --type=bundles|gift_cards|prices|promotions|...  (required) the type of resource to clean up
  -w, --where=<value>...                               comma separated list of query filters

DESCRIPTION
  create a new cleanup

ALIASES
  $ commercelayer clp:create
  $ commercelayer cleanup

EXAMPLES
  $ commercelayer cleanups:create -t skus

  $ cl clp:create -t stock_items

  $ cl cleanup -t skus -w reference_origin_eq=<ref-id>

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

commercelayer cleanups:details ID

Show the details of an existing cleanup.

USAGE
  $ commercelayer cleanups:details ID [-l]

ARGUMENTS
  ID  unique id of the cleanup

FLAGS
  -l, --logs  show error logs related to the cleanup process

DESCRIPTION
  show the details of an existing cleanup

ALIASES
  $ commercelayer clp:details

EXAMPLES
  $ commercelayer cleanups:details <cleanup-id>

  $ cl clp:details <cleanup-id>

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

commercelayer cleanups:group GROUP_ID

List all the cleanups related to a cleanup group.

USAGE
  $ commercelayer cleanups:group GROUP_ID

ARGUMENTS
  GROUP_ID  unique id of the group cleanup

DESCRIPTION
  list all the cleanups related to a cleanup group

ALIASES
  $ commercelayer clp:group

EXAMPLES
  $ commercelayer cleanups:group <group-id>

  $ cl clp:group <group-id>

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

commercelayer cleanups:list

List all the created cleanups.

USAGE
  $ commercelayer cleanups:list [-A | -l <value>] [-t
    bundles|gift_cards|prices|promotions|sku_lists|sku_options|skus|stock_items] [-s
    in_progress|pending|completed|interrupted]

FLAGS
  -A, --all              show all cleanups instead of first 25 only
  -l, --limit=<value>    limit number of cleanups in output
  -s, --status=<option>  the cleanup job status
                         <options: in_progress|pending|completed|interrupted>
  -t, --type=<option>    the type of resource cleaned
                         <options: bundles|gift_cards|prices|promotions|sku_lists|sku_options|skus|stock_items>

DESCRIPTION
  list all the created cleanups

ALIASES
  $ commercelayer clp:list

EXAMPLES
  $ commercelayer cleanups

  $ cl cleanups:list -A

  $ cl clp:list

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

commercelayer cleanups:types

Show online documentation for supported resources.

USAGE
  $ commercelayer cleanups:types [-O]

FLAGS
  -O, --open  open online documentation page

DESCRIPTION
  show online documentation for supported resources

ALIASES
  $ commercelayer clp:types

EXAMPLES
  $ commercelayer cleanups:types

  $ cl clp:types

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