-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41ac542
commit b45599c
Showing
5 changed files
with
29 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package trainings | ||
|
||
import ( | ||
"fmt" | ||
|
||
"github.com/ThreeDotsLabs/cli/internal" | ||
"github.com/fatih/color" | ||
) | ||
|
||
func (h *Handlers) printNotInATrainingDirectory() { | ||
fmt.Println("You are not in a training directory. If you already started the training, please go to the exercise directory.") | ||
fmt.Printf("Please run %s if you didn't start training yet.\n", internal.SprintCommand("tdl training init")) | ||
} | ||
|
||
func (h *Handlers) printExerciseTips() { | ||
fmt.Printf("To run solution, please execute " + internal.SprintCommand("tdl training run")) | ||
fmt.Println() | ||
} | ||
|
||
func printFinished() { | ||
fmt.Println("Congratulations, you finished the training " + color.YellowString("🏆")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters