mwunsch / tumblr

Command line interface and Ruby client for the Tumblr API (v2)
MIT License
282 stars 43 forks source link

Unclear documentation for --host #30

Closed rrthomas closed 11 years ago

rrthomas commented 11 years ago

--host seems to be optional according to the command-line help, but tumblr(1) says it's needed for posting and fetching posts. Yet a lot of the example tumblr post commands don't include it. It would seem to be sensible to be able to include it in ~/.tumblr, but I can't find out how. Help? If it's necessary all the time, it would be nice to make this clear, at least.

mwunsch commented 11 years ago

It is optional, b/c the cli first looks for the ENV variable $TUMBLRHOST. You can include that env variable in your ~/.bashrc or ~/.profile, etc.

This should be better documented.

kristianfreeman commented 11 years ago

@mwunsch - I can write some documentation for this in the next couple days. Expect a PR!

mwunsch commented 11 years ago

Thanks @imkmf

mwunsch commented 11 years ago

31 is a start. Will close this issue but continue to prioritize documentation.