cmd

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package cmd implements the croupier-server CLI using Cobra

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev"     // 版本信息,通过 ldflags 设置
	GitCommit = "unknown" // Git 提交哈希
	BuildTime = ""        // 构建时间

)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func PrintVersionInfo

func PrintVersionInfo()

PrintVersionInfo 打印版本信息

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL