From cc9a438800f9da9a796398df50663fb1a2296733 Mon Sep 17 00:00:00 2001 From: Sung Won Cho Date: Sat, 6 May 2017 12:45:19 +1000 Subject: [PATCH] Add ls as an alias for note (#36) --- README.md | 1 + main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e379f2b9..493e0c5f 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,7 @@ e.g. css ### dnote notes +*alias: ls* List all notes in the current book diff --git a/main.go b/main.go index a3c0e9ab..cd27b785 100644 --- a/main.go +++ b/main.go @@ -166,7 +166,7 @@ func main() { check(err) case "--version": fmt.Println(utils.Version) - case "notes": + case "notes", "ls": err := notes.Run() check(err) case "sync":