cmd

package
v0.0.0-...-e081ab7 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Revision = ""
View Source
var RootCmd = func() *cobra.Command {
	updateLogger(slog.LevelWarn)

	var verbose bool
	var rootCmd = &cobra.Command{
		Use:   "homekit-proxy",
		Short: "Homekit Proxy",
		Run: func(cmd *cobra.Command, args []string) {
			_ = cmd.Help()
		},
		PersistentPreRun: func(cmd *cobra.Command, args []string) {
			if verbose {
				updateLogger(slog.LevelInfo)
			}
		},
	}
	rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "verbose output")

	return rootCmd
}()
View Source
var Version = ""

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