Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &Z.Cmd{ Name: "unstar", Summary: `unstars a starred node`, Commands: []*Z.Cmd{ help.Cmd, }, Call: func(cmd *Z.Cmd, args ...string) error { dStore := &store.LocalStore{Path: Z.Vars.Get(".darwin.dir")} d, err := darwin.Load( dStore, ) if err != nil { return err } n, err := search.SearchList(d.GetStarred()) if err != nil { return err } d.Unstar(n.Id) err = dStore.Save(n) if err != nil { return err } return nil }, }
Cmd is the root command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.