mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* 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
23 lines
401 B
Go
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)
|
|
}
|