Commit Graph

134 Commits

Author SHA1 Message Date
Ivan Habunek 7929919ffc
Add --json option to update_account 2023-11-22 08:41:15 +01:00
Ivan Habunek e961bd696d
Make account optional in following and followers 2023-11-22 08:22:21 +01:00
Ivan Habunek 443f9445b1
Add --json option to account commands 2023-11-21 18:16:37 +01:00
Ivan Habunek 016ae25569
Add --json option to various status commands 2023-11-21 16:51:02 +01:00
Ivan Habunek 7793d4499a
Add --json option to post command 2023-11-21 16:51:02 +01:00
Ivan Habunek 3530553a06
Add --json option to status and thread commands 2023-11-21 16:51:02 +01:00
Ivan Habunek 0c37716de1
Add --json option to instance command 2023-11-21 16:50:19 +01:00
Ivan Habunek 3de561a060
Add --json argument to whois command 2023-11-18 15:42:04 +01:00
Ivan Habunek 2c4f7e17c9
Add --json option to whoami command 2023-11-18 15:40:51 +01:00
Sandra Snan 560b91700f
Ask for 639-1 consistently 2023-11-16 10:11:35 +01:00
Ivan Habunek b0099642cd
Shorten command descriptions 2023-07-25 09:14:58 +02:00
Florian Obser acc80f6890 Implemented "blocked" command
This lists accounts the logged in user has blocked. It is useful for
creating regular backups.
2023-07-21 16:24:57 +02:00
Florian Obser 39d7a345ed Implemented "muted" command
This lists accounts the logged in user has muted. It is useful for
creating regular backups.
2023-07-21 16:24:38 +02:00
Ivan Habunek cee2c93815
Respect debug and debug_file settings 2023-06-28 14:17:20 +02:00
Ivan Habunek 85260ed99d
Apply command defaults from settings 2023-06-28 13:55:30 +02:00
Ivan Habunek 3a375b77ee
Add toot status command 2023-06-28 12:23:33 +02:00
Daniel Schwarz 01afbe1f2f
If toot activate is invoked without an account, show list of accounts 2023-06-22 11:30:43 +02:00
Ivan Habunek 51d60679c3
Simplify account timeline options 2023-06-22 11:16:32 +02:00
Daniel Schwarz e55474158a
Added toot timeline --account_tl console command
Displays the timeline of any account (public timeline for
users who are not you, public+private for you)

Right now it does not display reblogs or replies,
this could be configurable if we add more command line flags
2023-06-22 11:07:54 +02:00
Daniel Schwarz 47b182a05b
Changed parameters for list cmds
Title is now a positional parameter.

Also added some error handling in the command processing
for looking up list IDs per @ihabunek 's suggestions
2023-03-30 10:03:34 +02:00
Dan Schwarz 2e0f2548e6
Added toot list_remove_account command 2023-03-30 10:01:04 +02:00
Dan Schwarz 80f05e8147
Added toot list_add_account command 2023-03-30 10:01:03 +02:00
Daniel Schwarz bfdd84870f
Added "toot list_delete" and "toot list_create" commands 2023-03-30 10:01:03 +02:00
Daniel Schwarz 08bb7aae71
added "toot list_accounts" command 2023-03-30 10:01:03 +02:00
Daniel Schwarz 855b2a1526
"toot list" console command added 2023-03-30 10:01:02 +02:00
Ivan Habunek 47c16b01ad
Add poll options to toot post 2023-03-09 11:02:15 +01:00
Ivan Habunek e26cb52fd7
Enable providing media thumbnails
issue #301
2023-03-03 11:44:39 +01:00
Ivan Habunek 6c5eb528ee
Add command for updating user account
fixes #314
2023-02-21 18:10:14 +01:00
Ivan Habunek 635dcd38cf
Backport argparse BooleanOptionalAction 2023-02-21 18:08:30 +01:00
Ivan Habunek ed1aea9cba
Cleanup logging, remove color 2023-02-04 09:01:56 +01:00
Daniel Schwarz 459937f196 --verbose and --no-color options now work with --debug logging 2023-01-29 09:32:25 +01:00
Ivan Habunek f3b90c947e
Add option to display relative datetimes 2023-01-29 09:23:57 +01:00
Norman Walsh b8f49ef212 Support --help as the only command-line argument 2023-01-19 09:40:32 +01:00
Giuseppe Bilotta 253eea12a6 Command to browse bookmarks from the CLI 2023-01-01 11:02:00 +01:00
Ivan Habunek 4ef866dcbe
Don't print usage on unknown command
Usage has grown pretty long and it obscures the error message.
2022-12-31 11:50:22 +01:00
Ivan Habunek 2d8791e629
Remove coding directives, no longer needed 2022-12-31 09:31:32 +01:00
Ivan Habunek 6f9ef69277
Rename tag commands to start with tags_ 2022-12-31 09:31:32 +01:00
Ivan Habunek ce560eacc7
Make commands code a bit nicer 2022-12-31 09:31:32 +01:00
Daniel Schwarz 67b52757a4
Command line support for following hashtags (Mastodon 4+) 2022-12-31 09:02:38 +01:00
Ivan Habunek a3fa7e1e3a
Improve visibility help string 2022-12-28 09:48:44 +01:00
Ivan Habunek aa75cacbff
Rename TOOT_VISIBILITY to TOOT_POST_VISIBILITY
This makes it more in line with what's planned for environemnt
variables in the future.
2022-12-28 09:21:22 +01:00
Ivan Habunek e07be634f6
Extract code for getting default visibility 2022-12-28 09:19:25 +01:00
Lim Ding Wen 08a28bfb26
TOOT_VISIBILITY controls boost visibility
TOOT_VISIBILITY controls default boost visibility from CLI, and the boost visibility from TUI (no option to change in TUI yet)
2022-12-28 09:12:05 +01:00
Lim Ding Wen 8582c8ed62
TOOT_VISIBILITY controls default visibility 2022-12-28 09:12:05 +01:00
Ivan Habunek 29ff629464
Add toot env command 2022-12-18 19:44:43 +01:00
Ivan Habunek 47be3a762a
Fix language specification
Old API docs claimed to require ISO 639-2 format, testing determines
that that ISO 639-1 is required instead.
2022-12-11 23:15:07 +01:00
Ivan Habunek 4f0c367995
Add post --scheduled-in option for easier scheduling 2022-12-03 15:38:19 +01:00
Ivan Habunek 0e13914fce
Add duration parsing 2022-12-01 10:20:50 +01:00
Nick LaForge 8c3baa704e Fix typo 2022-11-23 15:39:26 +01:00
Ivan Habunek 12d682591b
Fix command descriptions 2022-11-18 08:28:15 +01:00