diff --git a/cmd/maincommands.go b/cmd/crud.go similarity index 99% rename from cmd/maincommands.go rename to cmd/crud.go index 8c4639a..4bc11fb 100644 --- a/cmd/maincommands.go +++ b/cmd/crud.go @@ -322,9 +322,7 @@ func Serve(conf *cfg.Config) *cobra.Command { // errors at this stage do not cause the usage to be shown cmd.SilenceUsage = true - rest.Runserver(conf, nil) - - return nil + return rest.Runserver(conf, nil) }, }