From daeacfd86518c2978267232589fe33a43027205d Mon Sep 17 00:00:00 2001 From: Takashi Masuda <masutaka.net@gmail.com> Date: Sat, 26 Mar 2016 21:15:32 +0900 Subject: [PATCH] Add sub command `version` --- lib/github/nippou/commands.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/github/nippou/commands.rb b/lib/github/nippou/commands.rb index 549c52d..9ad8172 100644 --- a/lib/github/nippou/commands.rb +++ b/lib/github/nippou/commands.rb @@ -34,6 +34,11 @@ def list end end + desc 'version', 'Displays version' + def version + puts VERSION + end + private def nippous