# pdt: post to FSF social media via command line # Copyright (C) 2021 Ian Kelling # SPDX-License-Identifier: AGPL-3.0-or-later # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . For FSF staff: more detailed examples are on our internal wiki. Non-fsf staff, if you are familiar with the command line, you aren't missing anything. FSF account names are hardcoded, if you want to use this script for your own accounts, I'm happy to accept a patch or write one that uses account names from a configuration file. Just email me. Main usage: source pdt.sh, run pdt-setup one time, then usually just run pdt to do posts. The documentation for each function is within the pdt.sh file. After an update via git pull, run pdt-stup again. Patches welcome, email them to iank@fsf.org . If you aren't sure how to send a patch, see https://git-send-email.io/