//From [writeas-cli #12](https://github.com/writeas/writeas-cli/issues/12)://
**Overview**
Users should be able to sync anonymous posts to their accounts.
**Dependencies**
This requires user authentication (#10) to work.
**Implementation**
This should use the `go-writeas` library to [claim all posts](https://developer.write.as/docs/api/?go#claim-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.
```
**Questions**:
* 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`