achembarpu / pockyt

Automate & manage your Pocket.com collection.
GNU General Public License v3.0
503 stars 34 forks source link

Add/remove/set tags via the mod sub-command #4

Open kergoth opened 9 years ago

achembarpu commented 9 years ago

Sounds like a useful addition. I'm a bit busy with other projects right now, but I'll try to add it in soon.

For anyone who wants to work on this - it is supported by the modify endpoint - https://getpocket.com/developer/docs/v3/modify.

m040601 commented 4 years ago

I am trying to find a way to "manage my tags" in the pocket collection. That is for example:

Is this the same thing this issue is about ? If so this would be a great functionality to pockyt.

I am trying combinations like: pockyt get -.... | pockyt mod ... but I cant' get what I want.I'm also not quite sure I understand the option -i to mod

 -i <option>, --input <option>
                        obtain input : <option> : {console, [redirect, filename]}

could you clarify it a little bit these "console, [redirect, filename]}" with more examples in the readme ?

Thanks in advance. Pockyt keeps serving me well and is my favourite and cleanest cli pocket script for a long time.

achembarpu commented 4 years ago

Hey @m040601, Thanks for the friendly feedback 😄! Unfortunately, like the other issue you've opened, this has also stagnated. I do not have much time to invest into pockyt myself, but thanks to their stable API, this has enabled it to work indefinitely without my intervention. If anyone else is willing to contribute, I'm happy to merge. Cheers!

ciiqr commented 4 years ago

For my own use I've hacked together some very basic support for adding tags: https://github.com/arvindch/pockyt/compare/master...ciiqr:master this will need to be cleaned up and expanded upon (only supports tags_replace) before any PRs can be submitted, though I encourage others to hack away at this, the code is pretty simple to extend.