You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varapp=cli.New(name, version, build, "Simplified version of the lookout server that works with a local git repository and does not need access to GitHub")
if_, err:=app.AddCommand("push", "provides simple data server and triggers analyzer", "",
20
-
&PushCommand{}); err!=nil {
21
-
panic(err)
22
-
}
21
+
app.AddCommand(&PushCommand{})
23
22
}
24
23
25
24
typePushCommandstruct {
25
+
gocli.PlainCommand`name:"push" short-description:"trigger a push event" long-description:"Provides a simple data server and triggers an analyzer push event"`
if_, err:=app.AddCommand("review", "provides simple data server and triggers analyzer", "",
17
-
&ReviewCommand{}); err!=nil {
18
-
panic(err)
19
-
}
17
+
app.AddCommand(&ReviewCommand{})
20
18
}
21
19
22
20
typeReviewCommandstruct {
21
+
gocli.PlainCommand`name:"review" short-description:"trigger a review event" long-description:"Provides a simple data server and triggers an analyzer review event"`
if_, err:=app.AddCommand("migrate", "performs a DB migration up to the latest version", "",
13
-
&MigrateCommand{}); err!=nil {
14
-
panic(err)
15
-
}
13
+
app.AddCommand(&MigrateCommand{})
16
14
}
17
15
18
16
typeMigrateCommandstruct {
17
+
gocli.PlainCommand`name:"migrate" short-description:"performs a DB migration up to the latest version" long-description:"Performs a DB migration up to the latest version"`
0 commit comments