func (rf *CliFlags) Install(persistflags *pflag.FlagSet) {
	rf.ClearCache = false
	persistflags.BoolVar(&rf.ResetMenu, "delete-menu", false, "delete the menu stored in cache")
	persistflags.StringVar(&rf.LogFile, "log", "", "set a log file (found in ~/.config/apizza/logs)")
	persistflags.StringVarP(&rf.Address, "address", "A", rf.Address, "an address name stored with 'apizza address --new'")
	persistflags.StringVar(&rf.Service, "service", rf.Service, "select a Dominos service, either 'Delivery' or 'Carryout'")
}
Install the RootFlags
package opts
import (
	"time"
	"github.com/spf13/pflag"
)
const MenuUpdateTime = 12 * time.Hour
type CliFlags struct {
	Address string
	Service string
	ClearCache bool
	ResetMenu  bool
	LogFile    string
}