An open API service indexing awesome lists of open source software.

https://github.com/seamapi/seam-cli

Command line interface for the Seam API
https://github.com/seamapi/seam-cli

maintained

Last synced: 3 months ago
JSON representation

Command line interface for the Seam API

Awesome Lists containing this project

README

        

![seam-cli-chromatic-dark-blog-cover-repo](https://github.com/seamapi/seam-cli/assets/852751/e63bbaaa-d8a9-4417-ac69-d21b172e6de6)

# seam-cli - Seam Command Line Interface

A command line for interacting with [the Seam API](https://seam.co), create a [free account at console.seam.co](https://console.seam.co)

## Installation

For npm users:

```bash
npm install -g seam-cli
```

For brew users:

```bash
brew tap seamapi/homebrew-seam
brew install seam
```

## Usage

Every `seam` command is interactive and will prompt you for any missing
required properties with helpful suggestions. To avoid automatic behavior,
pass `-y`

```bash
# Login to Seam
seam login

# Select your workspace
seam select workspace

# Interactively select commands to execute
seam

# Create a connect webview to connect devices
seam connect-webviews create

# List devices in your workspace
seam devices list

MY_DOOR=$(seam devices get --name "Front Door" --id-only)

# Unlock a lock
seam locks unlock-door --device-id $MY_DOOR

# Create an access code
seam access-codes create --code "1234" --name "My Code"

# List you access codes
seam access-codes list --device-id $MY_DOOR
```