Skip to content

Commit

Permalink
Merge branch 'master' of github.com:naoty/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
naoty committed Aug 6, 2012
2 parents 1489c23 + 89713bf commit b9fe71a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions about
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b9fe71a

Please sign in to comment.