editor

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenEditor

func OpenEditor(dir, initialContent string) (string, error)

OpenEditor opens a text editor for the user to edit content

func OpenEditorWithFunc

func OpenEditorWithFunc(dir, initialContent string, editorFunc func(string) error) (string, error)

OpenEditorWithFunc allows dependency injection for testing

Types

This section is empty.

Jump to

Keyboard shortcuts

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