mk streamlines your workflow by transforming complex Makefile and Taskfile.yum execution into an interactive experience. With user-friendly navigation, command descriptions, and support for remote files, mk makes managing build tasks swift and intuitive. Spend less time scripting and more time executing with this simple command-line tool.
mk is an innovative command-line interface (CLI) tool designed to streamline the execution of tasks defined in Makefiles or Taskfiles (Taskfile.yml). With mk, you can effortlessly manage and run build commands in an interactive environment, enhancing your productivity in software development.
make commands using intuitive arrow keys or filter them by typing.j and k keys, execute commands with Enter, and exit with q.? for additional help.To use mk, start by preparing a Makefile or Taskfile with your defined commands:
SHELL := bash
.SHELLFLAGS := -eu -o pipefail -c
.DEFAULT_GOAL := help
.PHONY: test fmt
## Run tests
test:
go test ./...
## Format source code
fmt:
go fmt ./...
Run the command:
mk
This brings up an interactive interface where you can navigate through available commands and execute them with a simple keystroke.
mk provides various command flags to customize your execution experience:
mk [flags]
For instance, load a remote Makefile:
mk -f https://raw.githubusercontent.com/orangekame3/mk/main/Makefile
Or, to execute your defined tasks from a Taskfile:
mk -t
mk brings a user-friendly interface to the world of Makefiles and Taskfiles, making the execution of predefined tasks an engaging, quick, and efficient process. Say goodbye to cumbersome command lines and hello to a more manageable way to run your builds and tasks!
No comments yet.
Sign in to be the first to comment.