cmdconfig

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

cmdconfig contains the input config for commands. This is in its own package to avoid an import cycle with the clientinfo package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name    string        `json:"name"   toml:"name"    xml:"name"    yaml:"name"`
	Hash    string        `json:"hash"   toml:"hash"    xml:"hash"    yaml:"hash"`
	Command string        `json:"-"      toml:"command" xml:"command" yaml:"command"`
	Shell   bool          `json:"shell"  toml:"shell"   xml:"shell"   yaml:"shell"`
	Log     bool          `json:"log"    toml:"log"     xml:"log"     yaml:"log"`
	Notify  bool          `json:"notify" toml:"notify"  xml:"notify"  yaml:"notify"`
	Timeout cnfg.Duration `json:"-"      toml:"timeout" xml:"timeout" yaml:"timeout"`
	Args    int           `json:"args"   toml:"-"       xml:"-"       yaml:"-"`
}

Jump to

Keyboard shortcuts

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