Commit 1fae1eb
feat: add detailed inspection flags to status command
Added three new display modes for the status command:
**--detailed / --inspect**
Shows comprehensive container information including:
- Container status and uptime
- Image details and version
- Network configuration and port mappings
- Resource usage (CPU, memory)
- Health check status
- Environment variable count (redacted)
- Mounted volumes
- Recent logs (last 10 lines)
**--configuration / --env**
Shows container configuration:
- Environment variables (with sensitive values redacted)
- Volume mounts
- Network settings and port mappings
**--health**
Shows health check information:
- Overall health status
- Health check configuration (test, interval, timeout, retries)
- Recent health check history (last 5 results)
- Pass/fail status with timestamps
These flags can be combined to show multiple views:
axon status production --detailed --health
Changes:
- Added status flags to axon main script
- Implemented display functions in tools/status.sh
- Updated command help in lib/command-parser.sh
- Sensitive values automatically redacted (PASSWORD, SECRET, KEY, TOKEN, etc.)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 628b5b1 commit 1fae1eb
4 files changed
+352
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
384 | 388 | | |
385 | 389 | | |
386 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
387 | 403 | | |
388 | 404 | | |
389 | 405 | | |
| |||
574 | 590 | | |
575 | 591 | | |
576 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
577 | 605 | | |
578 | 606 | | |
579 | 607 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
178 | 183 | | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
182 | 187 | | |
183 | | - | |
184 | | - | |
185 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
186 | 194 | | |
187 | 195 | | |
188 | 196 | | |
| |||
0 commit comments