Files
payments/cmd/version.go
Maxence MaireauxandGitHub 22ebbe0a85 feat: CE/EE split architecture (#644)
* feat: Create EE architecture

* feat: Move Fireblocks to EE

* feat: Add dual CE/EE licensing model

Update root LICENSE to dual-license format distinguishing Community
Edition (MIT) from Enterprise Edition (ee/LICENSE), aligned with
the formancehq/stack licensing model.

* refactor: Rename main_ee.go to ee.go for cleaner build tag convention

* feat: Move Coinbase Prime to EE

* feat: just

* fix: tidy & package name
2026-02-24 15:26:29 +00:00

23 lines
401 B
Go

package cmd
import (
"log"
"github.com/spf13/cobra"
)
func newVersion() *cobra.Command {
return &cobra.Command{
Use: "version",
Short: "Get version",
Run: printVersion,
}
}
func printVersion(cmd *cobra.Command, args []string) {
log.Printf("Version: %s \n", Version)
log.Printf("Date: %s \n", BuildDate)
log.Printf("Commit: %s \n", Commit)
log.Printf("Edition: %s \n", Edition)
}