Documentation ¶
Overview ¶
the zet package contians functions and structs for working with a zettelcasten. on the users system
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &bonzai.Cmd{ Name: "zet", Commands: []*bonzai.Cmd{help.Cmd, listCmd, deleteCmd, newCmd}, Call: func(cmd *bonzai.Cmd, args ...string) error { zetDir, err := getZetDir() if err != nil { return err } search := "" if len(args) > 0 { search = args[0] } notes, err := ListNotes(zetDir) if err != nil { return err } note, err := findNote(notes, search) if err != nil { return err } editNote(note) return nil }, }
exported main command
Functions ¶
func DeleteNote ¶
DeleteNote deletes a note from the zettelkasten.
Types ¶
type Note ¶
Note is a struct that represents a note in the zettelkasten.
func CreateNote ¶
createNote creates a new note in the zettelkasten.
Click to show internal directories.
Click to hide internal directories.