Go Task Binary Installer

3.50.0 · active · verified Fri Apr 17

go-task-bin is a Python package that simplifies the installation of the Go-based Task task runner CLI. It ensures a specific, stable version of the `task` executable is available on your system, acting as a simpler alternative to Make or other build tools. The current version is 3.50.0, and it typically releases new versions in sync with major updates to the upstream Task CLI project.

Common errors

Warnings

Install

Imports

Quickstart

The quickstart demonstrates installing `go-task-bin`, ensuring the `task` command is available, creating a basic `Taskfile.yml` to define tasks, and then running those tasks from the command line. Remember that `go-task-bin` installs a CLI tool, not a Python library to import.

# 1. Install the binary (if not already done)
pip install go-task-bin

# 2. Ensure ~/.local/bin is in your PATH (if on Linux/macOS)
# Add this to your ~/.bashrc or ~/.zshrc:
# export PATH="$HOME/.local/bin:$PATH"
# Then run: source ~/.bashrc (or ~/.zshrc)

# 3. Create a Taskfile.yml in your project directory
# (Save this content as Taskfile.yml)
# version: '3'
# tasks:
#   hello:
#     cmds:
#       - echo "Hello from Task!"
#   build:
#     cmds:
#       - echo "Building project..."
#       - go build -o myapp ./cmd/myapp
#   run:
#     deps: [build]
#     cmds:
#       - ./myapp

# 4. Run a task from your terminal
task hello
task build
task run

view raw JSON →