Linux command
az-tui 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch the TUI
az-tui
Launch with mock data
az-tui --mock
Restrict to a specific resource group
ACA_RG="my-resource-group" az-tui
Display the version
az-tui -version
说明
az-tui is a terminal-based user interface for managing Azure Container Apps, inspired by K9s. It provides a keyboard-driven interface for browsing, inspecting, and debugging container applications directly from the terminal without needing the Azure portal. The tool follows a hierarchical navigation model: resource groups, container apps, revisions, containers, and environment variables. Users can view detailed application metadata in JSON format, inspect revisions with active status and traffic allocation percentages, stream container logs in real-time, and execute commands within running containers for troubleshooting. Written in Go using the Bubble Tea TUI framework, az-tui communicates with Azure through the Azure CLI. Navigation uses VIM-inspired key bindings: / to filter, : to switch contexts, Enter to drill down, Esc to go back, and q to quit. Mode-specific bindings include r to refresh, R to restart a revision, l to view logs, s to open a shell, and v to display environment variables. A mock mode (--mock) provides synthetic data for development and testing without requiring Azure credentials.
参数
- -mock, -m
- Use mock data instead of connecting to Azure CLI
- -version
- Print version information and exit
FAQ
What is the az-tui command used for?
az-tui is a terminal-based user interface for managing Azure Container Apps, inspired by K9s. It provides a keyboard-driven interface for browsing, inspecting, and debugging container applications directly from the terminal without needing the Azure portal. The tool follows a hierarchical navigation model: resource groups, container apps, revisions, containers, and environment variables. Users can view detailed application metadata in JSON format, inspect revisions with active status and traffic allocation percentages, stream container logs in real-time, and execute commands within running containers for troubleshooting. Written in Go using the Bubble Tea TUI framework, az-tui communicates with Azure through the Azure CLI. Navigation uses VIM-inspired key bindings: / to filter, : to switch contexts, Enter to drill down, Esc to go back, and q to quit. Mode-specific bindings include r to refresh, R to restart a revision, l to view logs, s to open a shell, and v to display environment variables. A mock mode (--mock) provides synthetic data for development and testing without requiring Azure credentials.
How do I run a basic az-tui example?
Run `az-tui` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -mock, -m do in az-tui?
Use mock data instead of connecting to Azure CLI