mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-03 09:20:50 -05:00
2422973fee
* log error in cli Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * write to stderr * Update ocis/cmd/ocis/main.go Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com> --------- Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com>
16 lines
202 B
Go
16 lines
202 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/owncloud/ocis/v2/ocis/pkg/command"
|
|
)
|
|
|
|
func main() {
|
|
if err := command.Execute(); err != nil {
|
|
fmt.Fprintln(os.Stderr, err.Error())
|
|
os.Exit(1)
|
|
}
|
|
}
|