If you're using bash, you can edit long commands by hitting C-x C-e. This will open an editor with the command in the buffer. When you save and exit, bash will execute the edited command.
This is not in the style of `transient` in Emacs but it could work well, especially with your wrapper script that takes command line flags.
This is not in the style of `transient` in Emacs but it could work well, especially with your wrapper script that takes command line flags.