CmdBox lets you store commands with named variables using angle bracket syntax, like <host> or <port>, and either prompts you for values at runtime or lets you store values so they are reusable in several commands. It also allows for nested commands inside other commands using <cmd:command-name>, so you can build up reusable building blocks rather than duplicating logic.
A few other features it supports: stored execution context per command (working directory, shell, environment variables, and timeout) with runtime overrides, multi-line command templates executed as scripts, tag based organization and filtering, field based search across commands, import and export for command sharing, and configurable global settings for shell, output capture, color and more.
It is written in Python, installable via pip as cmdbox-cli, and works on Linux, macOS, and Windows.
I would love feedback on the concept, design, features, or anything else. Happy to answer any questions as well.