18 lines
384 B
Go
18 lines
384 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"github.com/silverbulletmd/silverbullet/client_bundle"
|
|
"github.com/silverbulletmd/silverbullet/server/cmd"
|
|
)
|
|
|
|
//go:embed public_version.ts
|
|
var VersionFileText string
|
|
|
|
func main() {
|
|
c := cmd.ServerCommand(client_bundle.BundledFiles)
|
|
c.AddCommand(cmd.VersionCommand(VersionFileText), cmd.UpgradeCommand(), cmd.UpgradeEdgeCommand())
|
|
c.Execute()
|
|
}
|