2022-04-28 16:35:02 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2023-12-04 10:22:49 +00:00
|
|
|
"fmt"
|
2022-04-28 16:35:02 +00:00
|
|
|
"os"
|
2022-05-08 09:00:22 +00:00
|
|
|
|
2023-12-04 10:22:49 +00:00
|
|
|
"code.icb4dc0.de/prskr/nurse/cmd"
|
2022-05-08 09:00:22 +00:00
|
|
|
)
|
2022-04-28 16:35:02 +00:00
|
|
|
|
|
|
|
func main() {
|
2023-12-04 10:22:49 +00:00
|
|
|
app, err := cmd.NewApp()
|
2022-05-13 13:38:19 +00:00
|
|
|
if err != nil {
|
2023-12-04 10:22:49 +00:00
|
|
|
fmt.Println(err)
|
|
|
|
os.Exit(1)
|
2022-09-22 12:04:53 +00:00
|
|
|
}
|
|
|
|
|
2023-12-04 10:22:49 +00:00
|
|
|
if err := app.Run(os.Args); err != nil {
|
|
|
|
fmt.Println(err)
|
|
|
|
os.Exit(1)
|
2022-04-28 16:35:02 +00:00
|
|
|
}
|
|
|
|
}
|