feat: flag action

This commit is contained in:
Wendell Sun
2022-10-03 08:28:44 -04:00
committed by meatballhat
parent a2c3729797
commit e2e14ec6ef
19 changed files with 234 additions and 0 deletions
+2
View File
@@ -122,6 +122,8 @@ type Flag interface {
// GetValue returns the flags value as string representation and an empty
// string if the flag takes no value at all.
GetValue() string
RunAction(*Context) error
}
// Countable is an interface to enable detection of flag values which support