1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-06-23 06:25:26 +00:00
Commit Graph

892 Commits

Author SHA1 Message Date
Ivan Habunek
59efff5abc
Use context manager to edit config
This simplies the code a bit and resolves some type hinting issues.
2023-12-17 09:42:09 +01:00
Ivan Habunek
1dac093be7
Add --json option to lists commands 2023-12-14 14:10:53 +01:00
Ivan Habunek
438a8ab206
Make instance work without logging in 2023-12-14 13:06:06 +01:00
Ivan Habunek
6cf0e84d7a
Merge pull request #445 from strk/phony-bundle
Make bundle rule phony
2023-12-14 13:03:41 +01:00
Sandro Santilli
81c87c5709 Make bundle rule phony 2023-12-14 12:53:32 +01:00
Ivan Habunek
3399c8763d
Merge pull request #428 from ihabunek/click
Migrate to Click
2023-12-14 12:07:29 +01:00
Ivan Habunek
44ea2e8e6f
Don't ignore the whole file by flake8 2023-12-14 11:57:33 +01:00
Ivan Habunek
f72e4ba844
Move code from toot.tui.base to toot.tui 2023-12-14 11:35:52 +01:00
Ivan Habunek
2f3f686a00
Rework how app, user are passed to context 2023-12-14 10:11:09 +01:00
Ivan Habunek
164016481d
Replace lists commands with subcommands 2023-12-13 16:14:46 +01:00
Ivan Habunek
7ba2d9cce5
Use click echo instead of print 2023-12-13 15:35:58 +01:00
Ivan Habunek
ad7cfd44d4
Update changelog 2023-12-13 15:35:58 +01:00
Ivan Habunek
fab23b9069
Reorganize cli imports
The old way did not allow for having multiple commands of the same name
2023-12-13 15:00:47 +01:00
Ivan Habunek
120545865b
Bump version to 0.40.0 2023-12-13 08:40:30 +01:00
Ivan Habunek
01f3370b89
Add tags info command 2023-12-13 08:40:02 +01:00
Ivan Habunek
381e3583ef
Add featured tag commands 2023-12-13 08:40:02 +01:00
Ivan Habunek
743dfd715e
Change toot tags to toot tags followed 2023-12-13 08:40:02 +01:00
Ivan Habunek
a0caa88ffe
Add insurance policy 2023-12-13 08:40:02 +01:00
Ivan Habunek
c7e01c77f2
Add --json option to tag commands 2023-12-13 08:40:02 +01:00
Ivan Habunek
63691a3637
Allow editor when not in tty
I was told there are legitimate use cases I was not aware of.
2023-12-11 13:59:05 +01:00
Ivan Habunek
0f4f0b3863
Don't page lists, they don't support paging 2023-12-08 08:44:24 +01:00
Ivan Habunek
9098279d40
Replace tags_* commands with a group 2023-12-08 08:23:17 +01:00
Ivan Habunek
875bf2d86a
Add docs for environment variables 2023-12-07 20:05:58 +01:00
Ivan Habunek
0848a6f7df
Add shell completion for account names 2023-12-07 19:45:13 +01:00
Ivan Habunek
c7b5669c78
Add docs for shell completion 2023-12-07 19:45:13 +01:00
Ivan Habunek
bbf67c6736
Pass tui options through cli options 2023-12-07 19:27:26 +01:00
Ivan Habunek
ac77ea75ce
Remove unused code 2023-12-07 19:11:12 +01:00
Ivan Habunek
92dbdf5c3e
Move docs server to port 8000
By default it's on 3000 which is the same as mastodon.
2023-12-07 18:24:06 +01:00
Ivan Habunek
11cfa5834b
Remove default from environment variable
Click already does that for us.
2023-12-07 10:23:17 +01:00
Ivan Habunek
8e7a90e8da
Remove unused code 2023-12-07 10:23:05 +01:00
Ivan Habunek
a4cf678b15
Extract print_divider 2023-12-07 10:06:39 +01:00
Ivan Habunek
bf5eb9e7f8
Add --width option 2023-12-07 10:03:33 +01:00
Ivan Habunek
ac7964a7b4
Use cached fn to get settings 2023-12-05 12:00:45 +01:00
Ivan Habunek
bbb5658781
Overhaul output to use click 2023-12-05 11:55:09 +01:00
Ivan Habunek
e89cc6d590
Load command defaults from settings 2023-12-05 10:56:28 +01:00
Ivan Habunek
d91f3477a8
Simplify main
No need to handle this stuff here
2023-12-05 10:45:18 +01:00
Ivan Habunek
78f994c0f1
Make toot instance work with instance domain name 2023-12-05 10:18:34 +01:00
Ivan Habunek
b539c933ef
Respect --no-color 2023-12-05 09:59:40 +01:00
Ivan Habunek
a653b557b4
Fix formatting 2023-12-05 09:25:02 +01:00
Ivan Habunek
a8aeb32e18
Fix typing not to break older python versions 2023-12-05 09:15:39 +01:00
Ivan Habunek
b9aae37e7d
Limit test files
...so that things from bundle are not picked up by mistake
2023-12-05 08:58:31 +01:00
Ivan Habunek
05dbd7bb57
Fix bug in media upload 2023-12-05 08:58:18 +01:00
Ivan Habunek
b85daabb9d
Add missing package to discovery 2023-12-05 08:52:12 +01:00
Ivan Habunek
e8dac36de3
Add make bundle for creating a pyz bundle 2023-12-05 08:52:07 +01:00
Ivan Habunek
24866bd4e4
Improve types 2023-12-05 08:15:27 +01:00
Ivan Habunek
b9d0c1f7c2
Delete unused code 2023-12-04 18:46:45 +01:00
Ivan Habunek
eaaa14cfc2
Use click.echo to output text 2023-12-04 18:45:40 +01:00
Ivan Habunek
452b98d2ad
Delete old command implementations 2023-12-04 17:51:06 +01:00
Ivan Habunek
4dfab69f3b
Add tui command 2023-12-03 13:53:52 +01:00
Ivan Habunek
3947b28de5
Add upload command 2023-12-03 13:45:24 +01:00