bbash/main.go
Tobias P.L Wennberg 15eeadf5d3 initial
2025-01-10 13:29:56 +01:00

22 lines
306 B
Go

package main
import (
"bbash/command"
"bbash/environment"
"bbash/input_parser"
"fmt"
)
func main() {
env := environment.Get_env()
command.Init(&env)
for {
fmt.Print(fmt.Sprintf("%s > ", env.Path))
in_parsed := input_parser.Parse()
command.Run_command(in_parsed, &env)
fmt.Println()
}
}