goal

Quick Start

Get up and running with Goal in 5 minutes!

Installation

pip install goal

Or install from source:

git clone https://github.com/wronai/goal.git
cd goal
pip install -e .

Initialize Your Project

cd your-project
goal init

This creates:

Make Your First Commit

  1. Make some changes to your project
  2. Stage them: git add .
  3. Run Goal:
goal push

Goal will:

Example Workflow

# 1. Initialize
goal init
# ✓ Created VERSION (1.0.0)
# ✓ Created CHANGELOG.md
# ✓ Created goal.yaml with auto-detected settings
#   Project: my-app (python)

# 2. Make changes
echo "print('Hello, World!')" > app.py
git add app.py

# 3. Commit with Goal
goal push
# ✓ Detected project types: python
# ✓ Generated commit message: feat: add app.py
# ✓ Updated VERSION to 1.0.1
# ✓ Updated CHANGELOG.md
# ✓ Created tag: v1.0.1
# ✓ Successfully pushed to main

# 4. Check status
goal status
# Version: 1.0.1
# Branch: main
# No staged files
# No unstaged/untracked files

Common Commands

# Interactive workflow (default)
goal

# Automatic workflow (no prompts)
goal --yes

# Full automation (tests, commit, push, publish)
goal --all

# Specify version bump
goal --bump minor

# Generate commit message only
goal commit

# Check current version
goal version

# Dry run (preview)
goal push --dry-run

Next Steps