summaryrefslogtreecommitdiff
path: root/doPull.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-26 13:04:34 -0500
committerJeff Carr <[email protected]>2025-09-26 13:04:34 -0500
commit89dab2b7bc085f24eeafb28906ea3279120ecbfa (patch)
treed483d2c79bccdbb22c3a2517733f1642b76cf10c /doPull.go
parent544b0af3cc21ffe7d8524161b521ef6d8f16fb29 (diff)
show table to send to forgedv0.25.38v0.25.37
Diffstat (limited to 'doPull.go')
-rw-r--r--doPull.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/doPull.go b/doPull.go
index e6e8525..2ed67a1 100644
--- a/doPull.go
+++ b/doPull.go
@@ -36,6 +36,19 @@ func doPull() error {
return nil
}
*/
+ if argv.Pull.List != nil {
+ found := gitpb.NewRepos()
+ var count int
+ for {
+ if count > 10 {
+ break
+ }
+ count += 1
+ found.Append(me.forge.Repos.Repos[count])
+ }
+ me.forge.PrintPullTable(found)
+ return nil
+ }
// below this, you must not be in 'normal' mode
if me.forge.Config.Mode == forgepb.ForgeMode_NORMAL {