Skip to main content
The dx menu system is the heart of your terminal workflow, allowing you to organize commands, files, and interactive forms in a hierarchical structure.

Configuration Formats

dx supports multiple configuration formats for maximum flexibility:

Auto-Detection

dx automatically searches for menu files in this priority order:
  1. dx.yaml, dx.yml, dx.toml, dx.json
  2. menu.yaml, menu.yml, menu.toml, menu.json

Item Types

Commands

Execute shell commands with full PTY support

Files

Display files with rich Markdown rendering

Nested Menus

Organize items in hierarchical structures

Interactive Forms

Collect user input with dynamic field validation

Aliases for CLI Access

Advanced Features

Nested Menu Structure

Create organized hierarchies with unlimited depth:

Interactive Forms

Build dynamic forms that collect input and execute commands:
Menu configurations support environment variable expansion and can reference relative file paths for maximum flexibility.