man/tumblr.1 in tumblr-rb-1.0.0 vs man/tumblr.1 in tumblr-rb-1.1.0

- old
+ new

@@ -19,20 +19,40 @@ If you preface your \fIFILE\fR with a bit of YAML (<yaml.org>) frontmatter, you can give \fBtumblr\fR more explicit instructions for publishing your post. See tumblr(5) for available YAML parameters. . .SH "OPTIONS" . .TP -\fB\-a\fR,\fB\-\-auth\fR [\fIEMAIL:PASSWORD\fR] +\fB\-a\fR,\fB\-\-auth\fR \fIEMAIL:PASSWORD\fR Provide Email Address and Password, to authenticate to Tumblr, separated by a colon. If these are not provided, you will be prompted for them. - You \fBmust\fR provide this argument if the post comes from standard input. + You \fBmust\fR provide this or the \fB\-\-credentials\fR argument if the post comes from standard input. . .TP -\fB\-e\fR, \fB\-\-email\fR [\fIEMAIL\fR] +\fB\-e\fR, \fB\-\-email\fR \fIEMAIL\fR Email Address associated with your Tumblr account. You will be prompted for a password. . +.TP +\fB\-\-credentials\fR \fIFILE\fR + A YAML file with the user credentials. Should have keys \fBemail\fR and \fBpassword\fR. +. +.TP +\fB\-p\fR,\fB\-\-publish\fR + Publish the post immediately. This will ignore the \fBstate\fR parameter set in the post. +. +.TP +\fB\-q\fR,\fB\-\-queue\fR + Add the post to the queue. +. +.TP +\fB\-d\fR,\fB\-\-draft\fR + Save the post as a draft. +. +.TP +\fB\-\-group\fR=\fIGROUP\fR + Publish the post to a \fIGROUP\fR tumblelog. +. .P Other: . .TP \fB\-h\fR, \fB\-\-help\fR @@ -88,10 +108,37 @@ . .fi . .IP "" 0 . +.P +Save it as a draft: +. +.IP "" 4 +. +.nf +$ tumblr \-d http://www.youtube.com/watch?v=CW0DUg63lqU +. +.fi +. +.IP "" 0 +. +.P +Authenticate with credentials given from a file: +. +.IP "" 4 +. +.nf +$ cat ~/.tumblrlogin +email: tumblruser@generic\-email.com +password: myvoiceismypassport +$ cat data.yml my_post.txt | tumblr \-\-credentials ~/.tumblrlogin +. +.fi +. +.IP "" 0 +. .SH "INSTALLATION" If you have RubyGems installed: . .IP "" 4 . @@ -104,9 +151,9 @@ . .SH "COPYRIGHT" Tumblr (the gem) is Copyright (C) 2010 Mark Wunsch . .P -Tumblr is Copyright (c) Tumblr, Inc. The Tumblr gem is NOT affiliated with Tumblr. +Tumblr is Copyright (c) Tumblr, Inc. The Tumblr gem is NOT affiliated with Tumblr, Inc. . .SH "SEE ALSO" tumblr(5), gem(1)