diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/check.go | 4 | ||||
-rw-r--r-- | cmd/create.go | 6 | ||||
-rw-r--r-- | cmd/debug.go | 4 | ||||
-rw-r--r-- | cmd/next.go | 6 | ||||
-rw-r--r-- | cmd/run.go | 6 |
5 files changed, 13 insertions, 13 deletions
diff --git a/cmd/check.go b/cmd/check.go index e825d29..6f8e0be 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -20,7 +20,7 @@ package cmd import ( "fmt" "github.com/docopt/docopt.go" - . "github.com/githubert/clockrotz/common" + . "github.com/githubert/lettersnail/common" "os" "path/filepath" "sort" @@ -30,7 +30,7 @@ var usageCheck = // tag::check[] ` Usage: - clockrotz check [--silent] [FILE] + lettersnail check [--silent] [FILE] Options: --silent Suppress output, useful for silent checks. diff --git a/cmd/create.go b/cmd/create.go index ee682fa..95bbdc9 100644 --- a/cmd/create.go +++ b/cmd/create.go @@ -21,7 +21,7 @@ import ( "bufio" "fmt" "github.com/docopt/docopt.go" - . "github.com/githubert/clockrotz/common" + . "github.com/githubert/lettersnail/common" "io/ioutil" "os" "os/exec" @@ -34,7 +34,7 @@ var usageCreate = // tag::create[] ` Usage: - clockrotz create [--draft=FILE] [options] + lettersnail create [--draft=FILE] [options] Options: --help Show this help. @@ -50,7 +50,7 @@ Options: func Create(argv []string, conf *Configuration) { args, _ := docopt.Parse(usageCreate, argv, true, "", false) - tmpFile, err := ioutil.TempFile("", "clockrotz") + tmpFile, err := ioutil.TempFile("", "lettersnail") if err != nil { fmt.Printf("Error while creating temporary file: %s\n", err.Error()) diff --git a/cmd/debug.go b/cmd/debug.go index 343f0be..8873ac2 100644 --- a/cmd/debug.go +++ b/cmd/debug.go @@ -20,7 +20,7 @@ package cmd import ( "fmt" "github.com/docopt/docopt.go" - . "github.com/githubert/clockrotz/common" + . "github.com/githubert/lettersnail/common" "os" ) @@ -28,7 +28,7 @@ var usageDebug = // tag::debug[] ` Usage: - clockrotz debug FILENAME + lettersnail debug FILENAME Options: --help Show this help. diff --git a/cmd/next.go b/cmd/next.go index 15464bd..ff32ec0 100644 --- a/cmd/next.go +++ b/cmd/next.go @@ -20,7 +20,7 @@ package cmd import ( "fmt" "github.com/docopt/docopt.go" - . "github.com/githubert/clockrotz/common" + . "github.com/githubert/lettersnail/common" "path/filepath" "sort" "strconv" @@ -31,7 +31,7 @@ var usageNext = // tag::next[] ` Usage: - clockrotz next [--days=DAYS | --all] + lettersnail next [--days=DAYS | --all] Options: --help Show this help. @@ -72,7 +72,7 @@ func Next(argv []string, conf *Configuration) { message.Conf.MergeWith(conf) if errs := message.Verify(); errs != nil { - fmt.Printf("Error in message \"%s\". Please run 'clockrotz check'.\n", message.Name) + fmt.Printf("Error in message \"%s\". Please run 'lettersnail check'.\n", message.Name) continue } @@ -21,7 +21,7 @@ import ( "crypto/tls" "fmt" "github.com/docopt/docopt.go" - . "github.com/githubert/clockrotz/common" + . "github.com/githubert/lettersnail/common" "github.com/jordan-wright/email" "net/mail" "net/textproto" @@ -35,7 +35,7 @@ var usageRun = // tag::run[] ` Usage: - clockrotz run [options] + lettersnail run [options] Options: --help Show this help. @@ -103,7 +103,7 @@ func Run(argv []string, conf *Configuration) { if verificationError { // FIXME: This suggests that other messages were not sent, but they were.... fmt.Println("There were errors when verifying one or more messages.") - fmt.Println("Please run 'clockrotz check'") + fmt.Println("Please run 'lettersnail check'") os.Exit(1) } } |