Corgi is a command-line workflow manager that stores sequences of commands as named, reusable "snippets." It was inspired by the Pet snippet manager, which does a similar task but for snippets comprised of single commands rather than workflows that consist of multiple steps. When creating a snippet, users can define variables (called "template fields") that will be filled in before the workflow is executed. Commands executed as part of a workflow are able to receive user input just as if they'd been run directly from a shell, so prompts (e.g. for a password) work seamlessly. Users are able to execute either entire snippets or just a subset of the steps they contain. If a fuzzy finding utility is installed (currently Corgi supports fzf and peco), then users can select a snippet to execute using an interactive search interface. The Installation section of the Corgi ReadMe details how to install Corgi on macOS and Linux systems.
Comments