-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcbox.toml
More file actions
25 lines (21 loc) · 840 Bytes
/
cbox.toml
File metadata and controls
25 lines (21 loc) · 840 Bytes
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
env = ["ANTHROPIC_API_KEY"]
host_commands = ["git", "gh"]
editor = "nvim"
dockerfile = "Dockerfile.cbox"
open = "zellij action new-pane --close-on-exit --cwd $Dir -- $SHELL"
[commands]
build = "go build -o bin/cbox ./cmd/cbox"
run = "go run ./cmd/cbox"
test = "go test ./..."
[workflow]
branch = "$Slug"
[workflow.issue]
create = "gh issue create --title \"$Title\" --body \"$Description\" | grep -o '[0-9]*$'"
view = "gh issue view \"$IssueID\" --json title,body,labels,state"
close = "gh issue close \"$IssueID\""
set_status = "gh issue edit \"$IssueID\" --add-label \"$Status\""
comment = "gh issue comment \"$IssueID\" --body \"$Body\""
[workflow.pr]
create = "gh pr create --title \"$Title\" --body \"$Description\""
merge = "gh pr merge \"$PRURL\" --merge"
view = "gh pr view \"$PRNumber\" --json number,state,title,url,mergedAt"