"yatte" is a simple task runner developed in ShellScript.
You can install it with the following command:
curl -fsSL https://yatte.net/install | sh
- Create a file named
yatte.yml
in the root directory of your project. - Write tasks in
yatte.yml
. - Run tasks with
yatte <task-name>
.
yatte
can execute tasks by parsing a simple YAML-like file. You can write tasks as follows:
# yatte.yml
task-name: "echo 'hello world'"
multiline-task: |
echo 'hello'
echo 'world'
You can display help with yatte --help
.
You can update with yatte --update-yatte
.
- If
yatte
is executed within a directory under Git management, it will move to the root directory of the Git repository and execute the task.- If you want to execute the task in the current directory, use
yatte --here <task-name>
.
- If you want to execute the task in the current directory, use