root

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

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