Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
feat(deisctl): colorize deisctl
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Fisher committed Sep 21, 2014
1 parent 5363a94 commit c45fade
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion deisctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,17 @@ func setGlobalFlags(args map[string]interface{}) {
}

func main() {
usage := `Deis Control Utility
circle := "\033[31m●"
square := "\033[32m■"
triangle := "\033[34m▴"
reset := "\033[0m"
title := reset + "Deis Control Utility"

deisctlMotd := fmt.Sprintf("%s %s %s\n%s %s %s %s\n%s %s %s%s\n",
circle, triangle, square,
square, circle, triangle, title,
triangle, square, circle, reset)
usage := deisctlMotd + `
Usage:
deisctl <command> [<target>...] [options]
Expand Down

0 comments on commit c45fade

Please sign in to comment.