64 lines
1.4 KiB
Markdown
64 lines
1.4 KiB
Markdown
---
|
|
description: View deployment logs from Eureka platform
|
|
allowed-tools: Read, Bash, Glob
|
|
---
|
|
|
|
# Eureka Deploy Logs
|
|
|
|
**Input**: "$ARGUMENTS"
|
|
|
|
---
|
|
|
|
## PURPOSE
|
|
|
|
View the deployment logs from the Eureka platform to debug issues or monitor progress.
|
|
|
|
---
|
|
|
|
## EXECUTION FLOW
|
|
|
|
### ═══════════════════════════════════════════════════════════════
|
|
### PHASE 1: Fetch Logs
|
|
### ═══════════════════════════════════════════════════════════════
|
|
|
|
#### 1.1: Run Logs Command
|
|
|
|
```bash
|
|
# Default: last 100 lines
|
|
eureka deploy logs
|
|
|
|
# Custom tail count
|
|
eureka deploy logs --tail 200
|
|
```
|
|
|
|
#### 1.2: Parse Arguments
|
|
|
|
If `$ARGUMENTS` contains a number, use it as tail count:
|
|
```bash
|
|
TAIL_COUNT="${ARGUMENTS:-100}"
|
|
eureka deploy logs --tail "$TAIL_COUNT"
|
|
```
|
|
|
|
---
|
|
|
|
## ARGUMENTS
|
|
|
|
| Argument | Default | Description |
|
|
|----------|---------|-------------|
|
|
| `[tail]` | `100` | Number of log lines to show |
|
|
| `--id <deploymentId>` | Latest | Specific deployment ID |
|
|
| `--follow` | `false` | Follow logs in real-time |
|
|
|
|
## EXAMPLES
|
|
|
|
```bash
|
|
# View last 100 lines
|
|
/eureka:deploy-logs
|
|
|
|
# View last 500 lines
|
|
/eureka:deploy-logs 500
|
|
|
|
# View specific deployment
|
|
/eureka:deploy-logs --id dep_abc123
|
|
```
|