update

package
v2.15.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformReplaceAll

func TransformReplaceAll(old string, new string) func(string) string

TransformReplaceAll returns a func which handles replacement of text (i.e. strings.ReplaceAll)

Types

type UpdateSettingsCmd

type UpdateSettingsCmd struct {
	*subcommand.SubCommand
	// contains filtered or unexported fields
}

UpdateSettingsCmd updates settings in a session

func NewCmdUpdate

func NewCmdUpdate(f *cmdutil.Factory) *UpdateSettingsCmd

NewCmdUpdate returns a new command used to update session settings

func (*UpdateSettingsCmd) RunE

func (n *UpdateSettingsCmd) RunE(cmd *cobra.Command, args []string) error

RunE executes the command

Jump to

Keyboard shortcuts

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