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