package main type CommandSet struct { Name string Exec string Inplace bool Dynamic string Commands []*CommandSet // internal state completed bool } type SearchResult struct { Search string Error string Commands []*CommandSet }