Files
argon-v3/src/main.go

23 lines
281 B
Go

package main
import (
"os"
)
// args without the program path
var Args = os.Args[1:]
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)
}
}