Resolve #8: Implement "upgrade" command and "auto-check" for the latest version

This commit is contained in:
Ivan Kravets committed 2014-08-03 18:40:20 +03:00
1 parent a287d53520
commit 8b056efe64
5 files changed
+82 -4

No files matched your search

+15 -1
View File
@@ -284,6 +284,7 @@ To print all available commands and options:
show Show details about an installed platforms
uninstall Uninstall platforms
update Update installed platforms
upgrade Upgrade PlatformIO to the latest version
``platformio init``
@@ -564,7 +565,7 @@ To uninstall platform:
``platformio update``
~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
To check or update installed platforms:
@@ -603,6 +604,19 @@ To check or update installed platforms:
Versions: Current=1, Latest=1 [Up-to-date]
``platformio upgrade``
~~~~~~~~~~~~~~~~~~~~~~
To check or upgrade PlatformIO to the latest version:
.. code-block:: bash
$ platformio upgrade
# If you have problem with permissions try:
$ sudo platformio upgrade
Questions & Bugs
----------------