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

Possibility to delete a post - feature request #54

Closed
kingu-gidora opened this issue Mar 8, 2018 · 2 comments
Closed

Possibility to delete a post - feature request #54

kingu-gidora opened this issue Mar 8, 2018 · 2 comments

Comments

@kingu-gidora
Copy link

Would it be possible for the post command to return some ID that can later be used to delete the post?

@ihabunek
Copy link
Owner

@kingu-gidora It already gives you the ID in the success message which looks like:

Toot posted: https://mastodon.social/@ihabunek/100202249801818634

100202249801818634 is the status ID.

I'm also adding a delete command so you can delete statuses by running:

toot delete 100202249801818634

BTW, I have been thinking about adding an option which would return machine-readable data instead of human readable text. For example, when posting to return the status data in JSON as received from mastodon. But this would need to be implemented for other commands as well and sounds like a lot of work.

ihabunek added a commit that referenced this issue Jun 14, 2018
@ihabunek
Copy link
Owner

toot delete has been implemented and released in v0.19.0. Status ID also added to toot timeline.

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

2 participants