feat: add remove media and preview cards to mastodon

This commit is contained in:
VC
2024-07-05 11:53:29 +02:00
parent a619ca74dd
commit 7af0cd8507
7 changed files with 31 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/bash
cd {{ mastodon_home }}/live
PATH={{ mastodon_home }}/bin:{{ mastodon_home }}/.local/bin:{{ mastodon_home }}/.rbenv/plugins/ruby-build/bin:{{ mastodon_home }}/.rbenv/shims:{{ mastodon_home }}/.rbenv/bin:/usr/bin:/bin
RAILS_ENV=production bin/tootctl media remove

View File

@@ -0,0 +1,4 @@
#!/bin/bash
cd {{ mastodon_home }}/live
PATH={{ mastodon_home }}/bin:{{ mastodon_home }}/.local/bin:{{ mastodon_home }}/.rbenv/plugins/ruby-build/bin:{{ mastodon_home }}/.rbenv/shims:{{ mastodon_home }}/.rbenv/bin:/usr/bin:/bin
RAILS_ENV=production bin/tootctl preview_cards remove