Jobs & Workflows https://armen.surge.sh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
917 B

/*
------------------------------------------------------------------------------------------------------------------------
####### main ####### Copyright (c) 2021 mls-361 #################################################### MIT License #######
------------------------------------------------------------------------------------------------------------------------
*/
package main
import (
"os"
"forge.chapril.org/armen/armen/internal/cmdline"
"forge.chapril.org/mls-361/application"
)
var (
_version string
_builtAt string
)
func appRun() error {
app := application.New("armen", _version, _builtAt)
end, err := cmdline.Parse(app)
if err != nil {
return app.OnError(err)
}
if end {
return nil
}
return nil
}
func main() {
if appRun() != nil {
os.Exit(1)
}
}
/*
######################################################################################################## @(°_°)@ #######
*/