show
Show details of a specific entity.
Usage
bash
et show <type> <id> [--json]Options
| Option | Description |
|---|---|
--json | Output in JSON format |
Actor
bash
et show actor <id> [--json]Example:
bash
et show actor customerOutput:
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.000ZGoal
bash
et show goal <id> [--json]Example:
bash
et show goal complete_purchaseOutput:
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.000ZInteraction
bash
et show interaction <id> [--json]Example:
bash
et show interaction add_to_cartOutput:
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.000ZJourney
bash
et show journey <id> [--json]Example:
bash
et show journey checkout_flowOutput:
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.000ZJSON Output
bash
et show goal complete_purchase --jsonjson
{
"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