Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &Z.Cmd{ Name: "progress", Summary: `Prints out a skills progress`, 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 } starredNodes := []*node.Node{} for _, n := range d.Nodes { if n.Starred { starredNodes = append(starredNodes, n) } } for _, n := range starredNodes { fmt.Printf(" %s: %s %d\n", n.Name, n.Title, n.Level()) err = sprogress.Progress(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.