README.md
changeset 79 bca27c55be9f
parent 75 447ac88b67c6
child 92 aa7d918e727d
--- a/README.md	Sat May 06 20:26:12 2017 +0200
+++ b/README.md	Sun May 07 00:26:04 2017 +0200
@@ -48,6 +48,8 @@
 
 If you only provide the Mastodon instance, it will generate a configuration file with an application ID/secret for this instance and you will have to add the user credentials.
 
+Note that every variable from the configration file can also be set with an environment variable (e.g. `export MADONCTL_INSTANCE='https://mamot.fr'`).
+
 ### Usage
 
 The complete list of commands is available in the online help (`madonctl help`, `madonctl command --help`...)
@@ -66,6 +68,9 @@
 % madonctl toot --visibility private --spoiler CW "The answer was 42"
 % madonctl post --file image.jpg Selfie # Send a media file
 ```
+Note: The default toot visibility can be set in the configuration file with
+the `default_visibility` setting or with the environment variable (example
+`export MADONCTL_DEFAULT_VISIBILITY=unlisted`).
 
 Send (text) file content as new message:
 ```