README.md
changeset 102 84ad56b643c8
parent 98 dd260cff924e
child 105 07d96d963223
equal deleted inserted replaced
101:aeaae086db13 102:84ad56b643c8
   113 ```
   113 ```
   114 
   114 
   115 You can specify the (instance-specific) account ID number (--account-id) or
   115 You can specify the (instance-specific) account ID number (--account-id) or
   116 the user ID (--user-id).  In the later case, madonctl will search for the
   116 the user ID (--user-id).  In the later case, madonctl will search for the
   117 user so it must match exactly the ID known to your instance (without the
   117 user so it must match exactly the ID known to your instance (without the
   118 @domain suffix if the user is on the same instance).
   118 @domain suffix if the user is on the same instance).  With madonctl v0.6.1+,
       
   119 the --user-id flag can also contain an HTTP account URL.
   119 
   120 
   120 Display accounts you're following or your followers:
   121 Display accounts you're following or your followers:
   121 ``` sh
   122 ``` sh
   122 % madonctl accounts following                     # See last following
   123 % madonctl accounts following                     # See last following
   123 % madonctl accounts following --all               # See all followed accounts
   124 % madonctl accounts following --all               # See all followed accounts
   182 You can also use Go (Golang) templates:
   183 You can also use Go (Golang) templates:
   183 ``` sh
   184 ``` sh
   184 % madonctl accounts --account-id 1 followers --template '{{.acct}}{{"\n"}}'
   185 % madonctl accounts --account-id 1 followers --template '{{.acct}}{{"\n"}}'
   185 ```
   186 ```
   186 
   187 
   187 Number of users on current instance (madonctl 0.5+) (statistics from instances.mastodon.xyz API):
   188 Number of users on current instance (statistics from instances.mastodon.xyz API):
   188 ```
   189 ```
   189 madonctl instance --stats --template '{{printf "%v\n" .users}}'
   190 madonctl instance --stats --template '{{printf "%v\n" .users}}'
   190 ```
   191 ```
   191 
   192 
   192 You can write and use [themes](templates) as well (madonctl 0.6+):
   193 You can write and use [themes](templates) as well (madonctl 0.6+):