From writeas-cli #12:
Users should be able to sync anonymous posts to their accounts.
This requires user authentication (T191) to work.
This should use the go-writeas library to claim all posts stored locally (in user's posts.psv file). Each post successfully claimed should be removed from the posts.psv file; any errored posts should stay in the file and the user notified, so user can decide what to do with them.
See below for details on potential messaging to use.
$ writeas sync --help Sync anonymous posts to a Write.as account. The writeas CLI stores ownership information per individual post on your computer by default. However, you can create an account on Write.as... $ writeas sync Not logged in. Run: writeas login $ writeas sync Adding aaaaaa111111 to user baer... OK Adding baaaaa111112 to user baer... OK Done.
- Should writeas sync essentially be an alias/replacement for writeas login when user hasn't yet logged in? This could mean signing up with writeas auth