CLI Reference Overview

Complete reference for the Weik.io CLI commands

The Weik.io CLI provides command-line access to manage integrations, APIs, agents, and other platform resources.

Installation

Linux/macOS:

curl -fsSL https://weik.io/install-cli.sh | sh

Windows (PowerShell):

irm https://weik.io/install-cli.ps1 | iex

After installation, add to your PATH:

  • Linux/macOS: export PATH="$PATH:$HOME/.weikio/bin"
  • Windows: $env:PATH += ";$env:USERPROFILE\.weikio\bin"

Verify installation:

weikio --version

Getting started

View available commands:

weikio --help

View help for any command:

weikio <command> --help
weikio <command> <subcommand> --help

Command categories

Integration management

API management

  • api - Manage APIs and API packages
  • endpoints - Manage API endpoints

Eventing

Automation (deprecated)

  • notebooks - Manage notebooks (deprecated)
  • actions - Manage actions (deprecated)
  • webjob - Manage WebJobs (deprecated)

Infrastructure

Configuration

Data management

  • entities - Manage entities in the Entity Store

User management

Utilities

Common command patterns

Listing resources

Most commands support listing resources with the ls subcommand:

weikio integration flows ls
weikio agents ls
weikio users ls

Creating resources

Create resources using add or create:

weikio users add john.doe
weikio integration flows create my-flow flow.yaml

Deleting resources

Delete resources using delete or del:

weikio users delete john.doe
weikio integration flows del my-flow

Viewing details

View resource details using cat, view, or status:

weikio integration flows cat my-flow
weikio integration flows status my-flow

Command aliases

Some commands have shorter aliases:

  • integrationi
  • eventsourcees
  • eventsourceinstanceesi
  • eventdefinitionsed
  • entitiese
  • configurationsconfig

Example:

weikio i flows ls
weikio e get Customer cust-123

Profile management

Connect to different Weik.io instances using profiles:

# Add a profile
weikio profiles add production https://prod.example.com abc123key

# Switch profiles
weikio profiles change production

# List profiles
weikio profiles ls

Getting help

Every command and subcommand supports the --help flag:

weikio --help
weikio integration --help
weikio integration flows --help
weikio integration flows create --help

Known issues

See CLI Help Text Issues for a list of known issues in CLI help text.

Deprecated commands

See Deprecated and Obsolete CLI Commands for commands related to deprecated features.