Skip to content

Commit 66af7f1

Browse files
committed
Merge pull request #283 from exercism/config-output
Output configuration after calling configure command
2 parents 7911b0d + ef25144 commit 66af7f1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

cmd/configure.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ func Configure(ctx *cli.Context) {
3535
log.Fatal(err)
3636
}
3737

38-
fmt.Printf("The configuration has been written to %s\n", c.File)
39-
fmt.Printf("Your exercism directory can be found at %s\n", c.Dir)
38+
fmt.Printf("\nConfiguration written to %s\n\n", c.File)
39+
fmt.Printf(" --key=%s\n", c.APIKey)
40+
fmt.Printf(" --dir=%s\n", c.Dir)
41+
fmt.Printf(" --host=%s\n", c.API)
42+
fmt.Printf(" --api=%s\n\n", c.XAPI)
4043
}

0 commit comments

Comments
 (0)