Skip to content

Commit

Permalink
Merge pull request #30 from thii/clean-short
Browse files Browse the repository at this point in the history
Add short name for clean command
  • Loading branch information
Swatto authored Apr 24, 2017
2 parents aebc4ab + 9f5b9b6 commit aa3b2d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ func main() {
},
},
{
Name: "clean",
Usage: "Remove finished todos from the list",
Name: "clean",
ShortName: "c",
Usage: "Remove finished todos from the list",
Action: func(c *cli.Context) {
collection := Collection{}
collection.RetrieveTodos()
Expand Down

0 comments on commit aa3b2d3

Please sign in to comment.