-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.example
More file actions
81 lines (72 loc) · 3 KB
/
config.example
File metadata and controls
81 lines (72 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# YOLO Project Configuration
# This file is sourced as a bash script by yolo
# Location: .git/yolo/config
#
# User-wide config: ${XDG_CONFIG_HOME:-~/.config}/yolo/config
# Arrays (YOLO_PODMAN_VOLUMES, etc.) are merged from both configs.
# Scalar flags set here override user-wide values.
#
# The .git/yolo directory is safe from 'git clean' and works with git worktrees.
# ============================================================================
# VOLUME MOUNTS
# ============================================================================
# Array of volumes to mount into the container
#
# Syntax options:
# "~/projects" -> ~/projects:~/projects:Z (1-to-1 mount)
# "~/projects::ro" -> ~/projects:~/projects:ro,Z (1-to-1 with options)
# "~/data:/data:Z" -> ~/data:/data:Z (explicit mapping)
#
# The shorthand syntax makes it easy to mount directories at the same path
# in both host and container.
#
# Examples:
YOLO_PODMAN_VOLUMES=(
# "~/projects" # Mount ~/projects at same path in container
# "~/data::ro" # Mount ~/data read-only at same path
# "/mnt/storage:/storage:Z" # Explicit host:container:options
)
# ============================================================================
# PODMAN OPTIONS
# ============================================================================
# Array of additional options passed to 'podman run'
# You can specify environment variables, network settings, resource limits, etc.
#
# Examples:
YOLO_PODMAN_OPTIONS=(
# "--env=DEBUG=1"
# "--env=MY_API_KEY=secret"
# "--network=host"
# "--cpus=2"
# "--memory=4g"
)
# ============================================================================
# CLAUDE ARGUMENTS
# ============================================================================
# Array of arguments passed to the claude command inside the container
# These are passed after --dangerously-skip-permissions
#
# Examples:
YOLO_CLAUDE_ARGS=(
# "--model=claude-3-opus-20240229"
# "--verbose"
)
# ============================================================================
# DEFAULT FLAGS
# ============================================================================
# Set default behavior for yolo flags
# Command line options will override these settings
# Use anonymized container paths (/claude, /workspace) instead of host paths
# USE_ANONYMIZED_PATHS=0
# Enable NVIDIA GPU passthrough by default (requires nvidia-container-toolkit)
# USE_NVIDIA=0
# Git worktree handling mode: ask (default), bind, skip, or error
# WORKTREE_MODE="ask"
# ============================================================================
# USAGE NOTES
# ============================================================================
# - This file is sourced as a bash script, so you can use bash syntax
# - Arrays can span multiple lines for readability
# - Command line arguments always take precedence over config file
# - Use --no-config flag to ignore the config file entirely
# - Use --install-config to recreate this template