writeas / writeas-cli

Command line client for Write.as / WriteFreely
https://write.as/apps/cli
GNU General Public License v3.0
113 stars 20 forks source link

list: Fetch user posts if authenticated #19

Closed abhinav closed 5 years ago

abhinav commented 5 years ago

This changes the writeas list command to fetch the remote posts if the user is authenticated.

The command line output was left largely as-is with one change: If the post is not anonymous (has a slug and an associated collection), the -url flag will print the collection-specific URL rather than the general write.as/$id URL.

Resolves #13

(Note: The PR was made against the develop branch because the auth command hasn't been merged into master yet.)

thebaer commented 5 years ago

This looks great so far. Could you resolve the new merge conflicts? Then I'll test it out.

abhinav commented 5 years ago

Updated

abhinav commented 5 years ago

Hey, just checking in. Does this need anything else?

ghost commented 5 years ago

closing in favor of #29 only due to potential for large merge conflicts, and I missed this before I started.

@abhinav if you could I'd love your feedback on that PR.

abhinav commented 5 years ago

@robjloranger Thanks for letting me know. I won't have time to review the change but I'm glad this feature is getting built!