Skip to content

Commit

Permalink
Remove the unnecessary file and clean up a little bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
kentlouisetonino committed Mar 26, 2024
1 parent 78720aa commit 2b9d3c8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
13 changes: 13 additions & 0 deletions src/displays/app_description.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package displays

import "fmt"

func AppDescription() {
fmt.Println("\t", ColorBlue, "---------------------------------------------------------", ColorReset)
AddNewline()
fmt.Println("\t\t\t\t", ColorGreen, "TempScale", ColorReset)
AddNewline()
fmt.Println("\t\t", "A CLI tool for converting temperature scale.")
AddNewline()
fmt.Println("\t", ColorBlue, "---------------------------------------------------------", ColorReset)
}
13 changes: 4 additions & 9 deletions src/main.go
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
package main

import (
"fmt"

"github.com/kentlouisetonino/tempscale/src/displays"
)

func main() {
// Clear the terminal first.
displays.ClearScreen()
displays.AddNewline()
fmt.Println("\t", displays.ColorBlue, "---------------------------------------------------------", displays.ColorReset)
displays.AddNewline()
fmt.Println("\t\t\t\t", displays.ColorGreen, "TempScale", displays.ColorReset)
displays.AddNewline()
fmt.Println("\t\t", "A CLI tool for converting temperature scale.")
displays.AddNewline()
fmt.Println("\t", displays.ColorBlue, "---------------------------------------------------------", displays.ColorReset)

// Display the application description.
displays.AppDescription()
displays.AddNewline()
}

0 comments on commit 2b9d3c8

Please sign in to comment.