Skip to content

Commit 0c5b767

Browse files
author
Katrina Owen
authored
Merge pull request #353 from neslom/print-indication-of-progress-for-fetch-all
Print confirmation to console when fetching --all problems
2 parents e03bb39 + 26a1582 commit 0c5b767

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cmd/fetch.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package cmd
22

33
import (
4+
"fmt"
45
"log"
56
"path/filepath"
67

@@ -24,6 +25,7 @@ func Fetch(ctx *cli.Context) error {
2425
if ctx.Bool("all") {
2526
if len(args) > 0 {
2627
trackID := args[0]
28+
fmt.Printf("\nFetching all problems for the %s track...\n\n", trackID)
2729
p, err := client.FetchAll(trackID)
2830
if err != nil {
2931
log.Fatal(err)

0 commit comments

Comments
 (0)