Files
sablier/cmd/version/version.go
Alexis Couvreur fca9c79289 refactor: reorganize code structure (#556)
* refactor: rename providers to Provider

* refactor folders

* fix build cmd

* fix build cmd

* fix build cmd

* fix cmd start
2025-03-10 14:11:40 -04:00

19 lines
311 B
Go

package version
import (
"fmt"
"github.com/sablierapp/sablier/pkg/version"
"github.com/spf13/cobra"
)
func NewCmd() *cobra.Command {
return &cobra.Command{
Use: "version",
Short: "Print the version Sablier",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println(version.Info())
},
}
}