// Copyright 2017-2025 WIT.COM Inc. All rights reserved. // Use of this source code is governed by the GPL 3.0 package main // An app to submit patches for the 30 GO GUI repos func doShow() (string, error) { if argv.Show.Dirty != nil { // s, err := doDirty() _, s, err := getDirty() me.forge.Repos.Save() return s, err } if argv.Show.Tag != nil { doTag() return "tags shown", nil } if argv.Show.Mtime != nil { s, err := me.forge.Repos.ScanAllMtimesVerbose() return s, err } found := findRepos() if showUrls() { found.SortNamespace() footer := me.forge.PrintForgedTable(found) return "repos with patches or unsaved changes: " + footer, nil } var footer string // print out the repos if argv.All { footer = me.forge.PrintHumanTableFull(found) } else { footer = me.forge.PrintDefaultTB(found) } return footer, nil }