version

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// VersionCmd represents the version command
	VersionCmd = &cobra.Command{
		Use:   "version",
		Short: "Print the version information",
		Long:  `Print the version and build information of DocBase CLI.`,
		Run: func(cmd *cobra.Command, args []string) {
			fmt.Printf("DocBase CLI version %s\n", root.Version)
			fmt.Printf("Built at %s\n", root.BuildTime)
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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