Command line client for Write.as https://write.as/apps/cli
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Matt Baer 80d0f76532 Improve subcommand help template 8 年前
utils Fix launching editor in Windows 8 年前
writeas Improve subcommand help template 8 年前
.gitignore 🚀 9 年前
.travis.yml 🚀 9 年前
README.md Update `add` and `new` help 8 年前

README.md

writeas-cli

Command line interface for Write.as and Write.as on Tor. Works on Windows, OS X, and Linux.

Like the Android app, the command line client keeps track of the posts you make, so future editing / deleting is easier than doing it with cURL. The goal is for this to serve as the backend for any future GUI app we build for the desktop.

It is currently alpha, so a) functionality is basic and b) everything is subject to change — i.e., watch the changelog.

Usage

writeas [global options] command [command options] [arguments...]

COMMANDS:
   post     Alias for default action: create post from stdin
   new      Compose a new post from the command-line and publish
   delete   Delete a post
   update   Update (overwrite) a post
   get      Read a raw post
   add      Add an existing post locally
   list     List local posts
   help, h  Shows a list of commands or help for one command
   
GLOBAL OPTIONS:
   --tor, -t		 Perform action on Tor hidden service
   --tor-port "9150" Use a different port to connect to Tor
   --help, -h		 show help
   --version, -v	 print the version

Download

Get it on the web or hidden service.

Go get it

go get github.com/writeas/writeas-cli