Add hook support.

This commit is contained in:
Alec Thomas
2018-05-26 17:38:35 -04:00
committed by Gerald Kaszuba
parent f60fe01f08
commit cf89213e1e
10 changed files with 213 additions and 122 deletions
+1
View File
@@ -21,6 +21,7 @@ type Node struct {
Flags []*Flag
Positional []*Value
Children []*Branch
Target reflect.Value
}
// A Value is either a flag or a variable positional argument.