From b1e9dea79063a3101f6ac45ba9c4943bbb03ae34 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 14 Jan 2016 01:26:24 +0200 Subject: [PATCH] Add "pio" command line alias for "platformio" command // Resolve #447 --- HISTORY.rst | 2 ++ platformio/__init__.py | 2 +- setup.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 638eda14..4d8b127c 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -7,6 +7,8 @@ PlatformIO 2.0 2.7.2 (2016-01-??) ~~~~~~~~~~~~~~~~~~ +* Added ``pio`` command line alias for ``platformio`` command + (`issue #447 `_) * Added SPL-Framework support for Nucleo F401RE board (`issue #453 `_) * Added ``upload_resetmethod`` option to `Project Configuration File platformio.ini `__ diff --git a/platformio/__init__.py b/platformio/__init__.py index a3d0f72d..d910aa59 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -14,7 +14,7 @@ import sys -VERSION = (2, 7, "2.dev2") +VERSION = (2, 7, "2.dev3") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/setup.py b/setup.py index 6b4951ba..272131a6 100644 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ setup( }, entry_points={ "console_scripts": [ + "pio = platformio.__main__:main", "platformio = platformio.__main__:main" ] },