-
Notifications
You must be signed in to change notification settings - Fork 3
/
jotbot.env.example
48 lines (34 loc) · 1.21 KB
/
jotbot.env.example
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
# OpenAI API key to generate documentation.
OPENAI_API_KEY=
# OpenAI model to use.
JOTBOT_MODEL=gpt-4
# Comma-seperated glob patterns to include files in generation.
JOTBOT_INCLUDE=
# Include TestXXX() functions in generation (Go-specific).
JOTBOT_INCLUDE_TESTS=
# Comma-seperated glob patterns to exclude files generation.
JOTBOT_EXCLUDE=
# Exclude Go files in "internal" directories.
JOTBOT_EXCLUDE_INTERNAL=
# Regular expression to match found identifiers.
# For example, to match all variables and functions, use:
# JOTBOT_MATCH="^(var:|func:)"
JOTBOT_MATCH=
# Force-clear comments in generation prompt (Go-specific)
JOTBOT_CLEAR=false
# Override existing documentation.
JOTBOT_OVERRIDE=false
# Maximum number of files to generate documentation for.
JOTBOT_LIMIT=0
# Number of files to generate documentation for in parallel.
# The default is the math.Min(4, runtime.NumCPU())
JOTBOT_PARALLEL=2
# Number of documentations to generate in parallel for each file.
# The default is the math.Min(2, runtime.NumCPU())
JOTBOT_WORKERS=2
# Enable verbose logging.
JOTBOT_VERBOSE=1
# Print generated documentation to stdout.
JOTBOT_DRY_RUN=false
# Git branch to create commit on. Leave empty to disable commit.
JOTBOT_BRANCH=