Add pretty print short option to api_get

Review Request #9794 — Created March 16, 2018 and updated

Information

RBTools
master
49d0f1b...

Reviewers

Add pretty print short option to api_get

Tested in python 2.7

./bin/rbt-2.7 api-get -pp webhooks
{
    "err": {
        "code": 101,
        "msg": "You don't have permission for this"
    },
    "stat": "fail"
}
Description From Last Updated

I've been thinking about this, and this is the only place where we have a two-character "short" arg. I think …

daviddavid
solarmist
Review request changed
Change Summary:

Ping

People:
david
  1. Joshua,

    We're currently frozen for the release of RBTools 1.0. We'll get this in as soon as things unlock after the release is done.

    1. Can you pull this in now?

  2. 
      
david
  1. 
      
  2. rbtools/commands/api_get.py (Diff revision 1)
     
     
    Show all issues

    I've been thinking about this, and this is the only place where we have a two-character "short" arg. I think if we want to do this at all, we really should stay consistent and make it -p or -P.

  3.