domd

Core Features

DoMD provides a comprehensive set of features for detecting and managing project commands across various technologies.

Supported Technologies

Build Systems

Containerization

Configuration Management

Other

Key Features

Command Detection

Command Execution

Error Handling

Output Formats

Integration

Ansible Integration

DoMD provides first-class support for Ansible projects, including:

See the Ansible Integration documentation for more details.

Configuration

DoMD can be configured using:

  1. Command-line arguments
  2. Configuration files (.domdrc, pyproject.toml)
  3. Environment variables

Example configuration in pyproject.toml:

[tool.domd]
timeout = 30
output = "markdown"
verbose = true

[tool.domd.ignore]
patterns = ["*test*", "*dev*"]

[tool.domd.ansible]
inventory = "inventory/production"
vault_password_file = ".vault_pass.txt"

Best Practices

  1. Keep commands simple: Each command should do one thing well
  2. Use meaningful names: Make command purposes clear
  3. Document requirements: Note any dependencies or prerequisites
  4. Test commands: Verify commands work as expected
  5. Handle errors: Provide helpful error messages
  6. Use configuration: Leverage config files for project-specific settings