Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quick Start

A task is a heading followed by one or more code blocks. Create README.md:

## hello

```bash
echo "Hello from mq-task"
```

List the tasks and run one:

mq-task            # list tasks in README.md
mq-task hello      # run the "hello" task
mq-task -f tasks.md hello   # use another file

mq-task hello is shorthand for mq-task run hello.

Passing arguments

Arguments after -- are exposed as MX_ARGS (space-joined) and MX_ARG_0, and so on

## greet

```bash
echo "Hello, $MX_ARG_0"
```
mq-task greet -- world

Dry run

--dry-run prints what would be executed without running anything.

Next