README.md
changeset 186 180e636f231c
parent 181 0f3fb2d27ddb
child 199 2818e6882c1b
equal deleted inserted replaced
185:564d92b54b00 186:180e636f231c
   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