diff --git a/README.md b/README.md index 5fff015..328709b 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ The following actions are currently supported: **Sample response**: ``` - 1 + 2 ``` * `deckNames` @@ -279,6 +279,25 @@ The following actions are currently supported: ] ``` +* `upgrade` + + Displays a confirmation dialog box in Anki asking the user if they wish to upgrade AnkiConnect to the latest version + from the project's [master branch](https://raw.githubusercontent.com/FooSoft/anki-connect/master/AnkiConnect.py) on + GitHub. Returns a boolean value indicating if the plugin was upgraded or not. + + **Sample request**: + ``` + { + action: 'upgrade', + params: {} + } + ``` + + **Sample response**: + ``` + true + ``` + ## License ## GPL