mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
JSON output for account show
This commit is contained in:
@ -30,4 +30,14 @@ Description
|
||||
Show detailed information about :ref:`cmd_account`:
|
||||
|
||||
* Active groups and expiration
|
||||
* Group permissions
|
||||
* Group permissions
|
||||
|
||||
Options
|
||||
~~~~~~~
|
||||
|
||||
.. program:: platformio account show
|
||||
|
||||
.. option::
|
||||
--json-output
|
||||
|
||||
Return the output in `JSON <http://en.wikipedia.org/wiki/JSON>`_ format
|
||||
|
@ -62,5 +62,6 @@ def account_forgot(**kwargs):
|
||||
|
||||
|
||||
@cli.command("show", short_help="PIO Account information: groups, permissions")
|
||||
def account_show():
|
||||
@click.option("--json-output", is_flag=True)
|
||||
def account_show(**kwargs):
|
||||
pioplus_call(sys.argv[1:])
|
||||
|
Reference in New Issue
Block a user