Documentation
¶
Overview ¶
Package local provides procedures to run commands and do things on the local system.
Index ¶
- Variables
- func CreateShortcut() (string, error)
- func OpenCmd(ctx context.Context, cmd ...string) error
- func OpenFile(ctx context.Context, filePath string) error
- func OpenFolder(ctx context.Context, filePath string) error
- func OpenLog(_ context.Context, _ string) error
- func StartCmd(ctx context.Context, c string, v ...string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupported = fmt.Errorf("unsupported OS")
Functions ¶
func CreateShortcut ¶
func OpenFolder ¶
OpenFolder opens a folder in Finder.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.