MCPcopy Create free account
hub / github.com/celer-pkg/celer / Command

Method Command

cmds/cmd_version.go:17–27  ·  view source on GitHub ↗
(celer *configs.Celer)

Source from the content-addressed store, hash-verified

15}
16
17func (v *versionCmd) Command(celer *configs.Celer) *cobra.Command {
18 v.celer = celer
19 return &cobra.Command{
20 Use: "version",
21 Short: "Show version info of celer.",
22 Args: cobra.NoArgs,
23 Run: func(cmd *cobra.Command, args []string) {
24 v.version()
25 },
26 }
27}
28
29func (v *versionCmd) version() {
30 toolchainPath, _ := filepath.Abs("toolchain_file.cmake")

Callers

nothing calls this directly

Calls 1

versionMethod · 0.95

Tested by

no test coverage detected