flags

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLinks(cmd *cobra.Command)

func AddName

func AddName(cmd *cobra.Command, usage string)

func AddPaste

func AddPaste(cmd *cobra.Command)

func AddPath

func AddPath(cmd *cobra.Command)

func AddPin

func AddPin(cmd *cobra.Command)

func AddTemplate

func AddTemplate(cmd *cobra.Command, def string)

func AddUpstream

func AddUpstream(cmd *cobra.Command)
func HandleLinks(cmd *cobra.Command) []string

func HandleName

func HandleName(cmd *cobra.Command) (string, error)

func HandlePaste

func HandlePaste(cmd *cobra.Command) (bool, error)

func HandlePath

func HandlePath(cmd *cobra.Command) string

func HandlePin

func HandlePin(
	cmd *cobra.Command,
	c *config.Config,
	n *note.ZettelkastenNote,
	pinType string,
	name string,
)

func HandleTemplate

func HandleTemplate(cmd *cobra.Command) string

func HandleUpstream

func HandleUpstream(cmd *cobra.Command, vaultDir string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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