mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 13:23:03 +01:00
* refactor: rename providers to Provider * refactor folders * fix build cmd * fix build cmd * fix build cmd * fix cmd start
19 lines
311 B
Go
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())
|
|
},
|
|
}
|
|
}
|