Documentation
¶
Overview ¶
Package root contains the command-line interface implementation for the MCPShell.
It defines the root command and all subcommands using Cobra and manages CLI flags, execution flow, and global application state.
Index ¶
Constants ¶
View Source
const ApplicationName = "mcpshell"
ApplicationName is the name of the application used in various places
Variables ¶
This section is empty.
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 GetVersion ¶ added in v0.1.8
func GetVersion() string
GetVersion returns the full version string with build information
func SetVersion ¶ added in v0.1.8
func SetVersion(v, c, d string)
SetVersion sets the version information from build-time variables
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.