-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
38 lines (32 loc) · 842 Bytes
/
Copy pathmain.go
File metadata and controls
38 lines (32 loc) · 842 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
26
27
28
29
30
31
32
33
34
35
36
37
38
package main
import (
"fmt"
"os"
tea "github.com/charmbracelet/bubbletea"
_ "anthodev/codory/internal/actions/ai"
_ "anthodev/codory/internal/actions/dev"
_ "anthodev/codory/internal/actions/dev/code_editors"
_ "anthodev/codory/internal/actions/dev/docker"
_ "anthodev/codory/internal/actions/package_managers"
_ "anthodev/codory/internal/actions/shells"
_ "anthodev/codory/internal/actions/shells/zsh"
_ "anthodev/codory/internal/actions/shells/zsh/plugins"
_ "anthodev/codory/internal/actions/terminal"
_ "anthodev/codory/internal/actions/tools"
"anthodev/codory/internal/ui"
)
var (
version = "dev"
commit = "none"
date = "unknown"
)
func main() {
p := tea.NewProgram(
ui.NewModel(),
tea.WithAltScreen(),
)
if _, err := p.Run(); err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
}
}