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

@ones-open/cli-tools

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ones-open/cli-tools

helping tools to check opk

  • 2.1.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

OPT CLI Tools

Usage

$ npm install -g @ones-open/cli-tools
$ opt COMMAND
running command...
$ opt (--version)
@ones-open/cli-tools/2.1.2 darwin-arm64 node-v18.12.1
$ opt --help [COMMAND]
USAGE
  $ opt COMMAND
...

Commands

  • opt check OPKS
  • opt help [COMMANDS]

opt check OPKS

check if OPK packages contain incompatible ONES APIs, modules or abilities by configuration in op.config.mjs

USAGE
  $ opt check OPKS [--ones-version <value>] [--scan-apis <value>] [--enable-api-hijack] [--json]
    [--output-path <value>] [-h]

ARGUMENTS
  OPKS  the OPK files or directories to check

FLAGS
  -h, --help                  Show CLI help.
      --enable-api-hijack     enable API hijack which will override `enableApiHijack` in `op.config.mjs`
      --json                  output the result with JSON format
      --ones-version=<value>  the target ONES version which will override `onesVersion` in `op.config.mjs`
      --output-path=<value>   the file path to save the result
      --scan-apis=<value>     the ONES APIs to scan which will override `scan.apis` in `op.config.mjs`, multiple apis
                              should be separated by comma

DESCRIPTION
  check if OPK packages contain incompatible ONES APIs, modules or abilities by configuration in `op.config.mjs`

EXAMPLES
  $ opt check demo.opk

  $ opt check /path/to/opk/dirs

  $ opt check /path/to/opk/dirs,demo.opk

  $ opt check demo.opk --ones-version="3.15.0" --scan-apis="/project/api/1,/project/api/2"

opt help [COMMANDS]

Display help for opt.

USAGE
  $ opt help [COMMANDS...] [-n]

ARGUMENTS
  COMMANDS...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for opt.

See code: @oclif/plugin-help

Keywords

FAQs

Package last updated on 26 Sep 2024

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