login
Authenticate with a remote iwentsourcing API and store credentials for use by other CLI commands.
Usage
bash
iwentsourcing login [options]Options
| Flag | Default | Description |
|---|---|---|
--host <url> | http://localhost:3333 | API host URL to authenticate with |
What It Does
Opens a browser window (or prompts for credentials in the terminal) to authenticate with the specified API. The resulting token is stored in a local credentials file and automatically used by upload, seed, list-stream, replay-stream, and whoami.
Example
bash
iwentsourcing login --host https://api.iwentsourcing.com