PIO Account information; PIO Plus v0.4.0

This commit is contained in:
Ivan Kravets
2016-11-03 01:04:32 +02:00
parent a28a8273c5
commit f9a369561e
9 changed files with 49 additions and 7 deletions

View File

@ -40,6 +40,7 @@ Features
* :ref:`ide_cloud`
* :ref:`OTA Device Manager <cmd_remote_device>`
* :ref:`OTA Serial Port Monitor <cmd_remote_device_monitor>`
* :ref:`OTA Firmware Updates <cmd_remote_run>`
* Continuous Deployment
* Continuous Delivery

View File

@ -0,0 +1,33 @@
.. Copyright 2014-present PlatformIO <contact@platformio.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.. _cmd_account_info:
platformio account info
=======================
.. contents::
Usage
-----
.. code-block:: bash
platformio account info
Description
-----------
Show detailed information about :ref:`cmd_account`:
* Active groups and expiration
* Group permissions

View File

@ -34,6 +34,7 @@ To print all available commands and options use:
:maxdepth: 2
cmd_forgot
cmd_info
cmd_login
cmd_logout
cmd_password

View File

@ -51,7 +51,7 @@ Example
> platformio remote agent list
PlatformIO Plus (https://pioplus.com) v0.3.1
PlatformIO Plus (https://pioplus.com)
innomac.local
-------------

View File

@ -71,7 +71,7 @@ Example
> platformio remote device list
PlatformIO Plus (https://pioplus.com) v0.3.1
PlatformIO Plus (https://pioplus.com)
Agent innomac.local
===================
@ -106,6 +106,8 @@ Example
platformio remote device monitor
--------------------------------
**Over-The-Air (OTA) Serial Port Monitor**
Usage
~~~~~
@ -121,8 +123,8 @@ Usage
Description
~~~~~~~~~~~
Connect to remote device Over-The-Air (OTA) and receive or send data in
real time. :ref:`pio_remote_agent` should be started before.
Connect to Serial Port of remote device Over-The-Air (OTA) and receive or
send data in real time. :ref:`pio_remote_agent` should be started before.
To control *monitor* please use these "hot keys":

View File

@ -118,7 +118,7 @@ Example
> platformio remote run --environment uno --target upload
PlatformIO Plus (https://pioplus.com) v0.3.1
PlatformIO Plus (https://pioplus.com)
Building project locally
[Wed Oct 26 16:35:09 2016] Processing uno (platform: atmelavr, board: uno, framework: arduino)
--------------------------------------------------------------------------------

View File

@ -14,7 +14,7 @@
import sys
VERSION = (3, 2, "0a10")
VERSION = (3, 2, "0a11")
__version__ = ".".join([str(s) for s in VERSION])
__title__ = "platformio"

View File

@ -59,3 +59,8 @@ def account_token(**kwargs):
@click.option("-u", "--username")
def account_forgot(**kwargs):
pioplus_call(sys.argv[1:])
@cli.command("info", short_help="PIO Account information: groups, permissions")
def account_info():
pioplus_call(sys.argv[1:])

View File

@ -27,7 +27,7 @@ PACKAGE_DEPS = {
},
"tool": {
"name": "tool-pioplus",
"requirements": ">=0.3.0"
"requirements": ">=0.4.0"
}
}