Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kergoth opened this issue Apr 18, 2015 · 4 comments
Open

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

kergoth opened this issue Apr 18, 2015 · 4 comments

Comments

@kergoth
Copy link

kergoth commented Apr 18, 2015

No description provided.

@achembarpu achembarpu changed the title Feature request: add/remove/set tags via the mod sub-command Add/remove/set tags via the mod sub-command Apr 20, 2015
@achembarpu achembarpu self-assigned this Apr 20, 2015
@achembarpu
Copy link
Owner

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.

@achembarpu achembarpu removed their assignment Oct 25, 2015
@m040601
Copy link

m040601 commented Jan 17, 2020

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

  • retrieve all articles tagged XXX and retag them YYY
  • retrieve all articles about TRUMP, eg: -q 'TRUMP' and retag them say "politics"

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
Copy link
Owner

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
Copy link

ciiqr commented Jan 20, 2020

For my own use I've hacked together some very basic support for adding tags: 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants