Files
argon-v3/src/main.go
2023-02-27 00:07:13 +00:00

25 lines
312 B
Go

package main
import (
"os"
)
// args without the program path
var Args = os.Args[1:]
type stack = []map[string]any
func main() {
ex, e := os.Getwd()
if e != nil {
panic(e)
}
if len(Args) == 0 {
panic("No file specified")
}
err := importMod(Args[0], ex, true)
if err.EXISTS {
panicErr(err)
}
}