aboutsummaryrefslogtreecommitdiffstats
path: root/commands/commands.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-15 09:26:11 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-15 09:26:11 +0200
commitc2774dcf23d94a187f6679395e373c6fa1c627e1 (patch)
tree7067b121dd856f4d9c8461b72cf50bbdde270f3c /commands/commands.go
parentcbff4b8aba9bc5207d07523181f2be8e94ece881 (diff)
downloadgit-bug-c2774dcf23d94a187f6679395e373c6fa1c627e1.tar.gz
add a "comment" command
Diffstat (limited to 'commands/commands.go')
-rw-r--r--commands/commands.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/commands/commands.go b/commands/commands.go
index 7c4e3ab9..faca02ab 100644
--- a/commands/commands.go
+++ b/commands/commands.go
@@ -23,8 +23,9 @@ func (cmd *Command) Run(repo repository.Repo, args []string) error {
// CommandMap defines all of the available (sub)commands.
var CommandMap = map[string]*Command{
- "ls": lsCmd,
- "new": newCmd,
- "pull": pullCmd,
- "push": pushCmd,
+ "comment": commentCmd,
+ "ls": lsCmd,
+ "new": newCmd,
+ "pull": pullCmd,
+ "push": pushCmd,
}