Skip to content

show

Show details of a specific entity.

Usage

bash
et show <type> <id> [--json]

Options

OptionDescription
--jsonOutput in JSON format

Actor

bash
et show actor <id> [--json]

Example:

bash
et show actor customer

Output:

ID:          customer
Name:        Customer
Description: An online shopper looking to purchase products
Goals:       complete_purchase, browse_catalog
Tags:        external, verified
Metadata:    login_hint=test@example.com, tier=premium
Created:     2024-01-15T10:30:00.000Z
Updated:     2024-01-15T10:30:00.000Z

Goal

bash
et show goal <id> [--json]

Example:

bash
et show goal complete_purchase

Output:

ID:               complete_purchase
Description:      Successfully purchase products
Actor:            customer
Success Criteria: Order confirmed, payment processed
Tags:             verified, production
Metadata:         source=legacy
Created:          2024-01-15T10:30:00.000Z
Updated:          2024-01-15T10:30:00.000Z

Interaction

bash
et show interaction <id> [--json]

Example:

bash
et show interaction add_to_cart

Output:

ID:           add_to_cart
Description:  Add products to shopping cart
Performed By: customer
Goal:         complete_purchase
Tags:         verified
Metadata:     complexity=low
Created:      2024-01-15T10:30:00.000Z
Updated:      2024-01-15T10:30:00.000Z

Journey

bash
et show journey <id> [--json]

Example:

bash
et show journey checkout_flow

Output:

ID:        checkout_flow
Actor:     customer
Goal:      complete_purchase
Steps:
  1. browse_products
  2. add_to_cart
  3. view_cart
  4. checkout
  5. receive_confirmation
Narrative: Customer finds products, builds cart, and completes purchase
Tags:      documented, tested
Created:   2024-01-15T10:30:00.000Z
Updated:   2024-01-15T10:30:00.000Z

JSON Output

bash
et show goal complete_purchase --json
json
{
  "id": "complete_purchase",
  "description": "Successfully purchase products",
  "actor": "customer",
  "success_criteria": "Order confirmed, payment processed",
  "tags": ["verified", "production"],
  "meta": {
    "source": "legacy"
  },
  "created_at": "2024-01-15T10:30:00.000Z",
  "updated_at": "2024-01-15T10:30:00.000Z"
}

Errors

  • Entity not found: Error: Goal 'unknown' not found

Work matters when it helps real people achieve their goals.