cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cli provides the gonuget CLI application framework.

Package cli provides the gonuget CLI application framework.

Index

Constants

This section is empty.

Variables

View Source
var Console *output.Console

Console is the global console for CLI commands

Functions

func AddCommand

func AddCommand(cmd *cobra.Command)

AddCommand adds a command to the root command

func Execute

func Execute() error

Execute runs the root command

func GetFullVersion

func GetFullVersion() string

GetFullVersion returns detailed version information

func GetRootCommand

func GetRootCommand() *cobra.Command

GetRootCommand returns the root command for use by help command

func GetVersion

func GetVersion() string

GetVersion returns formatted version information

func SetupVersion

func SetupVersion()

SetupVersion configures version information after variables are set

Types

This section is empty.

Jump to

Keyboard shortcuts

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