Permalink
Browse files

add man to about

  • Loading branch information...
1 parent 96d9686 commit 89713bf19c46179c81224704b1f4cd57efaf2887 @naoty committed Jul 27, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 about
View
@@ -25,6 +25,11 @@ class CuiAboutMeClient < Thor
end
end
+ desc 'show man of USERNAME', 'curl http://cui-about.me/USERNAME/man'
+ def man(username)
+ system "curl #{ROOT_PATH}/#{username}/man"
+ end
+
desc 'create USERNAME', "curl -X POST -d 'name=USERNAME' -d 'password=PASSWORD' http://cui-about.me/signup"
method_option :password, aliases: '-p', required: true
def create(username)

0 comments on commit 89713bf

Please sign in to comment.