Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@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)
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.