Hello,
I recently published a ZSH plugin to help with using mlir-opt (and related frontends using MlirMain.h) in the terminal. It provides nice completions for CLI options (including pass options), and as an extra it also adds syntax highlighting for MLIR code in your terminal.
If you’re interested in trying it out see the installation instructions at GitHub - oowekyala/mlir-zsh-plugin: ZSH utilities to work with MLIR
I hope you find this useful! Cheers