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

ralph-cli

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ralph-cli

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ralph-cli

CLI tool for Ralph (https://ralph.allegro.tech/)

Install

gem install ralph-cli

Usage

URLの設定

$RALPH_URL 環境変数にRalphのURLを設定します。

$ export RALPH_URL=<your Ralph URL>

トークンの発行

APIで使用するトークンを発行します。ユーザ名とパスワードに問題がなければトークンが表示されます。

$ ralph token <your username>
Password: <your password>

トークンは$RALPH_TOKEN環境変数経由で参照するので設定します。

$ export RALPH_TOKEN="<your token>"

複数POST

ralph <subcommand> postを使ってアイテムを登録できますが、--fileオプションを使って複数のアイテムを一括して登録できます。

$ cat items.json
[
  {
    "name": "test1"
  },
  {
    "name": "test2"
  }
]
$ ralph post --file items.json

FAQs

Package last updated on 29 Aug 2023

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