Permalink
Browse files

Merge branch 'master' of github.com:naoty/bin

  • Loading branch information...
2 parents 1489c23 + 89713bf commit b9fe71a455bb7960e9ec815caec14182c65fcedc @naoty committed Aug 6, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 about
View
5 about
@@ -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 b9fe71a

Please sign in to comment.