cli complete
This commit is contained in:
@@ -26,6 +26,10 @@ func (op Op) String() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func OpFromString(s string) Op {
|
||||
return fromString(s)
|
||||
}
|
||||
|
||||
func fromString(s string) Op {
|
||||
for i := 0; i < 20; i++ {
|
||||
if Op(i).String() == s {
|
||||
|
||||
Reference in New Issue
Block a user