README.md
changeset 92 aa7d918e727d
parent 79 bca27c55be9f
child 98 dd260cff924e
equal deleted inserted replaced
91:02312ccc1fd3 92:aa7d918e727d
   182 You can also use Go (Golang) templates:
   182 You can also use Go (Golang) templates:
   183 ``` sh
   183 ``` sh
   184 % madonctl accounts --account-id 1 followers --template '{{.acct}}{{"\n"}}'
   184 % madonctl accounts --account-id 1 followers --template '{{.acct}}{{"\n"}}'
   185 ```
   185 ```
   186 
   186 
   187 Number of users on current instance (madonctl 1.5+) (statistics from instances.mastodon.xyz API):
   187 Number of users on current instance (madonctl 0.5+) (statistics from instances.mastodon.xyz API):
   188 ```
   188 ```
   189 madonctl instance --stats --template '{{printf "%v\n" .users}}'
   189 madonctl instance --stats --template '{{printf "%v\n" .users}}'
       
   190 ```
       
   191 
       
   192 You can write and use [themes](templates) as well (madonctl 0.6+):
       
   193 ```
       
   194 madonctl --theme=ansi timeline
   190 ```
   195 ```
   191 
   196 
   192 There are many more commands, you can find them in the online help or the manpage.
   197 There are many more commands, you can find them in the online help or the manpage.
   193 
   198 
   194 
   199