xeroc / piston-cli

Command line tool to interact with the STEEM network
MIT License
74 stars 33 forks source link

Posting by command line errors #4

Closed MarcGodard closed 8 years ago

MarcGodard commented 8 years ago

Vim: Warning: Input is not from a terminal Vim: Error reading input, exiting... Vim: preserving files... Vim: Finished. Empty body! Not posting!

MarcGodard commented 8 years ago
cat somefile.txt | piston post --author marcgodard --category "test" --title "testing commandline posting" --permlink "something-here"
xeroc commented 8 years ago

I have EDITOR=vim and have noticed that it doesn't work properly with EDITOR=gvim. Not sure how that should be done properly so that the editor doesn't actually detach ... Need to look into this ..

xeroc commented 8 years ago

"wannabe" fix: https://github.com/xeroc/piston/commit/f8e30333a5d745a6512ae2bac1f25dd5de083752