datasette install --upgrade option, closes #945

This commit is contained in:
Simon Willison 2020-08-19 10:20:41 -07:00
commit 69033c6ec4
3 changed files with 27 additions and 3 deletions

View file

@ -43,7 +43,15 @@ You can uninstall plugins with ``datasette uninstall``::
datasette uninstall datasette-vega
These ommands are thin wrappers around ``pip install`` and ``pip uninstall``, which ensure they run ``pip`` in the same virtual environment as Datasette itself.
You can upgrade plugins with ``datasette install --upgrade`` or ``datasette install -U``::
datasette install -U datasette-vega
This command can also be used to upgrade Datasette itself to the latest released version::
datasette install -U datasette
These commands are thin wrappers around ``pip install`` and ``pip uninstall``, which ensure they run ``pip`` in the same virtual environment as Datasette itself.
One-off plugins using --plugins-dir
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~