Public Documentation

Lawie Docs

guideDifficulty: beginnerTime: 15mVersion: v1Services: cliSDK: lawie-cliReviewed: 2025-01-22Reviewer: Docs PlatformTags: cli, tooling

CLI Workflows for Developers

Use the Lawie CLI to configure auth, list contracts, and monitor logs.

Overview

The Lawie CLI simplifies common developer workflows.

Prerequisites

  • Install lawie-cli
  • API key with required scopes

Architecture Diagram

CLI commands call the API gateway and surface structured output.

Steps

  1. Authenticate with lawie auth login.
  2. List contracts with lawie contracts list.
  3. Tail logs using lawie logs tail.

API Calls Referenced

  • POST /auth/login
  • GET /contracts/v1

Troubleshooting

  • Authentication failures → Re-run lawie auth login.