mink

command
v1.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

mink is the command-line interface for the go-mink event sourcing library.

Usage:

mink <command> [flags]

Commands:

init        Initialize a new mink project
generate    Generate code scaffolding (aggregates, events, projections)
migrate     Manage database migrations
projection  Manage event projections
stream      Inspect and manage event streams
schema      Generate and manage database schema
diagnose    Run diagnostic checks on your setup
version     Show version information

Examples:

# Initialize a new project
mink init my-project

# Generate an aggregate with events
mink generate aggregate Order --events Created,ItemAdded,Shipped

# Run database migrations
mink migrate up

# Check projection status
mink projection list

# Run diagnostics
mink diagnose

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL