diff options
| author | Jeff Carr <[email protected]> | 2025-10-10 07:35:38 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-10 07:35:38 -0500 |
| commit | cf253dc0fed3d0950e1ef41811ab88cd4167b913 (patch) | |
| tree | 149d7201ffcc110a962991107916f122e91416ab | |
| parent | b95b8bf55b6598d27a143e43d2353737e5bbc1b1 (diff) | |
make something to show mtimes
| -rw-r--r-- | argv.go | 1 | ||||
| -rw-r--r-- | doShow.go | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -55,6 +55,7 @@ type testCmd string type ShowCmd struct { Dirty *EmptyCmd `arg:"subcommand:dirty" help:"show dirty git repos"` + Mtime *EmptyCmd `arg:"subcommand:mtime" help:"show mtime changes"` Repo *RepoCmd `arg:"subcommand:repos" help:"print a table of the current repos"` Tag *TagCmd `arg:"subcommand:tag" help:"show git tags"` } @@ -18,6 +18,11 @@ func doShow() (string, error) { return "tags shown", nil } + if argv.Show.Mtime != nil { + s, err := me.forge.Repos.ScanAllMtimesVerbose() + return s, err + } + found := findRepos() if showUrls() { found.SortNamespace() |
