Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@8base/api-cli
Advanced tools
The 8base API Command Line Interface (CLI)
Install CLI globally with
$ yarn global add @8base/api-cli
Now you can run CLI using following command anywhere
$ 8base-api-cli
Install CLI locally to your node_modules
folder with
$ yarn add @8base/api-cli --dev
You should be able to run CLI with
$ node_modules/.bin/8base-api-cli
Before usage you should set API endpoint
8base-api-cli config:set --name=url --value=https://api.8base.com
Usage: 8base-api-cli <command> [options]
Commands:
8base-api-cli auth:confirm Confirm with passed credentials.
8base-api-cli auth:login Login with passed credentials.
8base-api-cli auth:logout Logout and clear saved credentials.
8base-api-cli auth:sicolo Sign up, confirm and login with passed credentials.
8base-api-cli auth:signup Sign up with passed credentials.
8base-api-cli auth:whoami Display the current auth parameters.
8base-api-cli config Display a config.
8base-api-cli config:get Display a config value with passed name.
8base-api-cli config:set Set a config value with passed name.
8base-api-cli schema:export Export tables to the schema file.
8base-api-cli schema:import Import tables by passed schema file.
8base-api-cli tables:drop Drop all user tables.
8base-api-cli tables:fill Fill all user tables with mock data.
Options:
--help Show help [boolean]
--version Show version number [boolean]
Confirm with passed credentials.
Options:
--email [string] [required]
--code [string] [required]
--password [string] [required]
--save [boolean] [default: true]
Login with passed credentials.
Options:
--email [string] [required]
--password [string] [required]
--save [boolean] [default: true]
Logout and clear saved credentials.
Sign up, confirm and login with passed credentials.
Options:
--email [string] [required]
--password [string] [required]
--firstName [string] [default: "Ivan"]
--lastName [string] [default: "Ivanov"]
--organization [string] [default: "8base"]
--host [string] [default: "imap.yandex.ru"]
--save [boolean] [default: true]
Sign up with passed credentials.
Options:
--email [string] [required]
--password [string] [required]
--firstName [string] [default: "Ivan"]
--lastName [string] [default: "Ivanov"]
--organization [string] [default: "8base"]
Display the current auth parameters.
Display a config.
Display a config value with passed name.
Options:
--name [string] [required]
Set a config value with passed name.
Options:
--name [string] [required]
--value [string] [required]
Export tables to the schema file.
Options:
--file [string] [required] [default: "./EXPORT.json"]
Import tables by passed schema file.
Options:
--file [string] [required] [default: "./IMPORT.json"]
Drop all user tables.
Fill all user tables with mock data.
FAQs
The 8base API Command Line Interface (CLI)
The npm package @8base/api-cli receives a total of 2 weekly downloads. As such, @8base/api-cli popularity was classified as not popular.
We found that @8base/api-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.