gopass: Index | Files

package editor

import ""


Package Files

edit_linux.go editor.go


var (
    // Stdin is exported for tests
    Stdin io.Reader = os.Stdin
    // Stdout is exported for tests
    Stdout io.Writer = os.Stdout
    // Stderr is exported for tests
    Stderr io.Writer = os.Stderr

func Invoke Uses

func Invoke(ctx context.Context, editor string, content []byte) ([]byte, error)

Invoke will start the given editor and return the content

func Path Uses

func Path(c *cli.Context) string

Path return the name/path of the preferred editor

Package editor imports 13 packages (graph). Updated 2019-02-20. Refresh now. Tools for package owners.