edit

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:    "edit",
	Aliases: []string{"e"},
	Usage:   "Open configuration file with default editor",
	Action:  action,
	Flags: []cli.Flag{
		config.FlagConfigType,
		&cli.BoolFlag{
			Name:        "init",
			Aliases:     []string{"i"},
			Usage:       "Initialize config file if not exist",
			Value:       false,
			Destination: &config.Config.Common.Overwrite,
			Sources: cli.NewValueSourceChain(
				cli.EnvVar("INIT_CONFIG"),
			),
		},
	},
}

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