@airtable/blocks-cli

0.0.76 • Public • Published

Command line tool for Airtable Blocks development

Installation

To install or update the block cli, run:

npm install --global @airtable/blocks-cli

Usage

Running the block locally

Go to the block's directory and run:

block run

This will start a local server and serve the bundle over https locally, with a self-signed certificate.

Once the server is started paste the bundle URL into the "Edit block locally" dialog in Airtable.

The block's frame will switch to the local development bundle. It will automatically reload when you update the code locally.

Updating your API key

To block release, you must have a valid Airtable API key configured. Use block set-api-key to update it.

We support user (~/.config/.airtableblocksrc.json) and block (.airtableblocksrc.json within block directory) scoped configs, and prefer the block scoped config if both exist.

Readme

Keywords

none

Package Sidebar

Install

npm i @airtable/blocks-cli

Weekly Downloads

19,418

Version

0.0.76

License

UNLICENSED

Unpacked Size

3.52 MB

Total Files

3772

Last publish

Collaborators

  • carolinekimat
  • larsj-at
  • nabeelairtable
  • clementhoang-at
  • blakethomson-at
  • willpowelsonat
  • richsinn
  • s2tephen
  • manan_at
  • fredz-at
  • seankeenan-at
  • kevinwilde-at
  • matthewzhuo-at
  • jeffreychen-at