usage
This commit is contained in:
parent
177ba91d51
commit
42aa119e7f
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ func (g *Game) REPL(src io.Reader, dst io.Writer, assets fs.FS) error {
|
|||
g.Enable()
|
||||
g.Show()
|
||||
case "tree":
|
||||
if len(tok) < 1 || len(tok) > 2 {
|
||||
fmt.Println(dst, "Usage: tree [ID]")
|
||||
}
|
||||
var c interface{} = g
|
||||
if len(tok) == 2 {
|
||||
// subtree
|
||||
|
|
Loading…
Reference in a new issue