cmd/config: add built-in tutorials

This commit is contained in:
Phillip Wittrock
2019-11-25 21:50:17 -08:00
parent 23f9f819eb
commit 5876a8cce0
6 changed files with 595 additions and 5 deletions

View File

@@ -24,9 +24,11 @@ const (
// TreeStructureOwners configures TreeWriter to generate the tree structure off of the
// Resource owners.
TreeStructureGraph TreeStructure = "graph"
TreeStructureGraph TreeStructure = "owners"
)
var GraphStructures = []string{string(TreeStructureGraph), string(TreeStructurePackage)}
// TreeWriter prints the package structured as a tree.
// TODO(pwittrock): test this package better. it is lower-risk since it is only
// used for printing rather than updating or editing.