From 1db2ea27affa4beaabda8ca52f5f6ef6b34c51ee Mon Sep 17 00:00:00 2001 From: Keilin Olsen Date: Tue, 30 Nov 2021 23:34:39 +1100 Subject: [PATCH] Move old shell/main to subdirectory Also update README reference to same --- README.md | 2 +- _examples/shell/{ => commandstring}/main.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename _examples/shell/{ => commandstring}/main.go (100%) diff --git a/README.md b/README.md index 40d4c46..a0bc3ca 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ There are two ways to handle commands in Kong. When you call `kong.Parse()` it will return a unique string representation of the command. Each command branch in the hierarchy will be a bare word and each branching argument or required positional argument will be the name surrounded by angle brackets. Here's an example: -There's an example of this pattern [here](https://github.com/alecthomas/kong/blob/master/_examples/shell/main.go). +There's an example of this pattern [here](https://github.com/alecthomas/kong/blob/master/_examples/shell/commandstring/main.go). eg. diff --git a/_examples/shell/main.go b/_examples/shell/commandstring/main.go similarity index 100% rename from _examples/shell/main.go rename to _examples/shell/commandstring/main.go