
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@commercelayer/cli-plugin-resources
Advanced tools
Commerce Layer CLI Resources plugin
$ npm install -g @commercelayer/cli-plugin-resources
$ cl-resources COMMAND
running command...
$ cl-resources (-v|--version|version)
@commercelayer/cli-plugin-resources/0.0.6 darwin-x64 node-v14.16.0
$ cl-resources --help [COMMAND]
USAGE
$ cl-resources COMMAND
...
cl-resources resources:available
cl-resources resources:create
cl-resources resources:delete
cl-resources resources:filters
cl-resources resources:list RESOURCE
cl-resources resources:retrieve RESOURCE [ID]
cl-resources resources:update
cl-resources resources:available
list all the available Commerce Layer API resources
USAGE
$ cl-resources resources:available
See code: src/commands/resources/available.ts
cl-resources resources:create
create a new resource
USAGE
$ cl-resources resources:create
OPTIONS
-a, --attribute=attribute define a resource attribute
-j, --json convert output in standard JSON format
-o, --organization=organization (required) the slug of your organization
-r, --relationship=relationship define a relationship with another resource
-u, --unformatted print unformatted JSON output
ALIASES
$ cl-resources create
$ cl-resources rc
$ cl-resources res:create
See code: src/commands/resources/create.ts
cl-resources resources:delete
ddelete a resource
USAGE
$ cl-resources resources:delete
OPTIONS
-j, --json convert output in standard JSON format
-o, --organization=organization (required) the slug of your organization
-u, --unformatted print unformatted JSON output
ALIASES
$ cl-resources delete
$ cl-resources rd
$ cl-resources res:delete
See code: src/commands/resources/delete.ts
cl-resources resources:filters
shows a list of all available filter predicates
USAGE
$ cl-resources resources:filters
See code: src/commands/resources/filters.ts
cl-resources resources:list RESOURCE
fetch a collection of resources
USAGE
$ cl-resources resources:list RESOURCE
ARGUMENTS
RESOURCE the resource type
OPTIONS
-f, --fields=fields comma separeted list of fields in the format [resource]=field1,field2...
-i, --include=include comma separated resources to include
-j, --json convert output in standard JSON format
-n, --pageSize=pageSize number of elements per page
-o, --organization=organization (required) the slug of your organization
-p, --page=page page number
-s, --sort=sort defines results ordering
-u, --unformatted print unformatted JSON output
-w, --where=where comma separated list of query filters
ALIASES
$ cl-resources list
$ cl-resources rl
$ cl-resources res:list
See code: src/commands/resources/list.ts
cl-resources resources:retrieve RESOURCE [ID]
fetch a single resource
USAGE
$ cl-resources resources:retrieve RESOURCE [ID]
ARGUMENTS
RESOURCE the resource type
ID id of the resource to retrieve
OPTIONS
-f, --fields=fields comma separeted list of fields in the format [resource]=field1,field2...
-i, --include=include comma separated resources to include
-j, --json convert output in standard JSON format
-o, --organization=organization (required) the slug of your organization
-u, --unformatted print unformatted JSON output
ALIASES
$ cl-resources retrieve
$ cl-resources rr
$ cl-resources res:retrieve
See code: src/commands/resources/retrieve.ts
cl-resources resources:update
update a resource
USAGE
$ cl-resources resources:update
OPTIONS
-j, --json convert output in standard JSON format
-o, --organization=organization (required) the slug of your organization
-u, --unformatted print unformatted JSON output
ALIASES
$ cl-resources update
$ cl-resources ru
$ cl-resources res:update
See code: src/commands/resources/update.ts
FAQs
Commerce Layer CLI Resources plugin
The npm package @commercelayer/cli-plugin-resources receives a total of 123 weekly downloads. As such, @commercelayer/cli-plugin-resources popularity was classified as not popular.
We found that @commercelayer/cli-plugin-resources demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.