simple-tree

command
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 4 Imported by: 0

README

= Simple Tree

Demonstrates constructing a command tree to support multi-tiered command
structures.

The built tree has the following layout:

[source]
----
root
  |- foo
  |    |- bar
  |- fizz
       |- buzz
----

There are 2 branches from the root command that may be selected, "foo" and
"fizz".  Under the "foo" branch there is a singular leaf node, "bar".  Under the
"fizz" branch, there is a singular leaf node "buzz".

The command tree may have any number of branches and/or leaves.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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