toot
toot copied to clipboard
Commands should be able to return json formatted data
To facilitate scripting, it would be nice if commands could spit out json instead of plaintext. This can be accomplished by adding a --json
option. In many cases we could skip decoding json and spit out the json received from the server.
Progress:
Authentication
- [ ] login
- [ ] login_cli
- [ ] activate
- [ ] logout
- [ ] auth
- [ ] env
- [x] update_account
TUI
- [ ] tui
Read
- [x] whoami
- [x] whois
- [ ] notifications
- [x] instance
- [x] search
- [x] thread
- [x] status
- [ ] timeline
- [ ] bookmarks
Post
- [x] post
- [ ] upload
Status
- [x] delete
- [x] favourite
- [x] unfavourite
- [x] reblog
- [x] unreblog
- [x] reblogged_by
- [x] pin
- [x] unpin
- [x] bookmark
- [x] unbookmark
Accounts
- [x] follow
- [x] unfollow
- [x] following
- [x] followers
- [x] mute
- [x] unmute
- [x] muted
- [x] block
- [x] unblock
- [x] blocked
Hashtags
- [ ] tags_followed
- [ ] tags_follow
- [ ] tags_unfollow
Lists
- [ ] lists
- [ ] list_accounts
- [ ] list_create
- [ ] list_delete
- [ ] list_add
- [ ] list_remove
Agree, this has been on my wishlist for a while