README.md
changeset 137 8fdaf5e1f8fc
parent 129 11966471aac3
child 140 92842a4f5f8b
--- a/README.md	Sun May 14 10:54:55 2017 +0200
+++ b/README.md	Sun May 14 11:18:58 2017 +0200
@@ -46,31 +46,12 @@
 
 (You can redirect the output to a configuration file.)
 
-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'`).
-
 If you don't want to use the password or if you have enabled *Two-factor
-authentication*, you can use **OAuth2** with the `oauth2` command, either
-interactively or non-interactively:
-
-`madonctl -i mastodon.social oauth2`
+authentication*, you can also use **OAuth2** with the `oauth2` command:
 
-The output is similar to the previous `config dump` command, so you can create
-your configuration file like this as well:
-
-`madonctl -i mastodon.social oauth2 > config_file.yaml`
+`madonctl -i mastodon.social oauth2 > madonctl.yaml`
 
-Note: If don't want to use the tool interactively, check to `get-url` and `code`
-subcommands:
-``` sh
-madonctl -i mastodon.social oauth2 get-url
-# (Paste the link into your browser...)
-madonctl -i mastodon.social code $CODE > config_file.yaml
-```
+For details on the configuration, please check the [configuration](configuration.md) page.
 
 ### Usage