equal
deleted
inserted
replaced
230 You can also use Go (Golang) **templates**: |
230 You can also use Go (Golang) **templates**: |
231 ``` sh |
231 ``` sh |
232 % madonctl accounts --account-id 1 followers --template '{{.acct}}{{"\n"}}' |
232 % madonctl accounts --account-id 1 followers --template '{{.acct}}{{"\n"}}' |
233 ``` |
233 ``` |
234 |
234 |
235 Number of users on current instance (statistics from instances.mastodon.xyz API): |
|
236 ``` |
|
237 madonctl instance --stats --template '{{printf "%v\n" .users}}' |
|
238 ``` |
|
239 |
|
240 You can write and use [themes](templates) as well: |
235 You can write and use [themes](templates) as well: |
241 ``` |
236 ``` |
242 madonctl --theme=ansi timeline |
237 madonctl --theme=ansi timeline |
243 ``` |
238 ``` |
244 |
239 |