commands

package
v1.3.105 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package commands cmd/dmsg/conf/commands/probe.go c1-net-dmsg

Package commands cmd/dmsg/conf/commands/pull.go c1-net-dmsg

Package commands cmd/dmsg/conf/commands/root.go c1-net-dmsg

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Short:                 `dmsg deployment servers config`,
	Long:                  `print the dmsg servers from the dmsghttp-config`,
	SilenceErrors:         true,
	SilenceUsage:          true,
	DisableSuggestions:    true,
	DisableFlagsInUseLine: true,
	Run: func(_ *cobra.Command, _ []string) {
		_, err := script.Echo(string(dmsg.DmsghttpJSON)).JQ(`.prod.dmsg_servers`).Stdout()
		if err != nil {
			cmdutil.Fatal("Failed to execute command: ", err)
		}
	},
}

RootCmd is the root command

Functions

func Execute

func Execute()

Execute executes root CLI command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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