clip

package module
v0.0.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &bonzai.Cmd{
	Name:  `clip`,
	Short: `manage and play YouTube clips with mpv`,
	Vers:  `v0.0.1`,
	Cmds:  []*bonzai.Cmd{PlayCmd},
}
View Source
var PlayCmd = &bonzai.Cmd{
	Name: `play`,
	Call: func(_ *bonzai.Cmd, _ ...string) error {
		data, err := vars.Get(
			`.clip.data`,
			`CLIP_DATA`,
			os.UserCacheDir(),
		)
		if err != nil {
			return err
		}
		_ = data

		return nil
	},
}

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