From 993877b447ae2b97a14787f2a25ce4d419cecb9f Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Thu, 13 Nov 2014 06:27:03 -0800 Subject: [PATCH] Clarify example in README. Fixes #149 --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe4652c..cae6f30 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,9 @@ Running this already gives you a ton of functionality, plus support for things l Being a programmer can be a lonely job. Thankfully by the power of automation that is not the case! Let's create a greeter app to fend off our demons of loneliness! +Start by creating a directory named `greet`, and within it, add a file, `greet.go` with the following code in it: + ``` go -/* greet.go */ package main import ( @@ -84,7 +85,7 @@ func main() { app.Action = func(c *cli.Context) { println("Hello friend!") } - + app.Run(os.Args) } ```