payload: {"action":"created","issue":{"url":"https://api.github.com/repos/apache/airflow/issues/6400","repository_url":"https://api.github.com/repos/apache/airflow","labels_url":"https://api.github.com/repos/apache/airflow/issues/6400/labels{/name}","comments_url":"https://api.github.com/repos/apache/airflow/issues/6400/comments","events_url":"https://api.github.com/repos/apache/airflow/issues/6400/events","html_url":"https://github.com/apache/airflow/pull/6400","id":511649524,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMxODA4OTI1","number":6400,"title":"[AIRFLOW-5731] Make output format from list commands configurable","user":{"login":"sekikn","id":898388,"node_id":"MDQ6VXNlcjg5ODM4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/898388?v=4","gravatar_id":"","url":"https://api.github.com/users/sekikn","html_url":"https://github.com/sekikn","followers_url":"https://api.github.com/users/sekikn/followers","following_url":"https://api.github.com/users/sekikn/following{/other_user}","gists_url":"https://api.github.com/users/sekikn/gists{/gist_id}","starred_url":"https://api.github.com/users/sekikn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sekikn/subscriptions","organizations_url":"https://api.github.com/users/sekikn/orgs","repos_url":"https://api.github.com/users/sekikn/repos","events_url":"https://api.github.com/users/sekikn/events{/privacy}","received_events_url":"https://api.github.com/users/sekikn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-10-24T01:18:23Z","updated_at":"2019-10-24T16:17:49Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/airflow/pulls/6400","html_url":"https://github.com/apache/airflow/pull/6400","diff_url":"https://github.com/apache/airflow/pull/6400.diff","patch_url":"https://github.com/apache/airflow/pull/6400.patch"},"body":"Make sure you have checked _all_ steps below.\r\n\r\n### Jira\r\n\r\n- [x] My PR addresses the following [Airflow Jira](https://issues.apache.org/jira/browse/AIRFLOW/) issues and references them in the PR title. For example, \"\\[AIRFLOW-XXX\\] My Airflow PR\"\r\n  - https://issues.apache.org/jira/browse/AIRFLOW-5731\r\n  - In case you are fixing a typo in the documentation you can prepend your commit with \\[AIRFLOW-XXX\\], code changes always need a Jira issue.\r\n  - In case you are proposing a fundamental code change, you need to create an Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)).\r\n  - In case you are adding a dependency, check if the license complies with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).\r\n\r\n### Description\r\n\r\n- [x] Here are some details about my PR, including screenshots of any UI changes:\r\n\r\nCurrently, list commands such as `airflow connections list` and `airflow users list` display prettily formatted tables, but they are not so suitable for parsing and processing. With this PR, users can get easier-to-parse output, as follows:\r\n\r\n```\r\n$ airflow connections list --tablefmt=simple 2>/dev/null | head\r\nConn Id                         Conn Type                    Host                       Port    Is Encrypted    Is Extra Encrypted    Extra\r\n------------------------------  ---------------------------  -------------------------  ------  --------------  --------------------  ------------------------------\r\n'airflow_db'                    'mysql'                      'mysql'                    None    False           False                 None\r\n'local_mysql'                   'mysql'                      'localhost'                None    True            False                 None\r\n'presto_default'                'presto'                     'localhost'                3400    False           False                 None\r\n'google_cloud_default'          'google_cloud_platform'      None                       None    False           False                 None\r\n'hive_cli_default'              'hive_cli'                   'localhost'                10000   False           True                  'gAAAAABdrxCP...jMAQ6LknDM8pc'\r\n'pig_cli_default'               'pig_cli'                    None                       None    False           False                 None\r\n'hiveserver2_default'           'hiveserver2'                'localhost'                10000   False           False                 None\r\n'metastore_default'             'hive_metastore'             'localhost'                9083    False           True                  'gAAAAABdrxCP...ABWevIJL-Dto='\r\n\r\n$ airflow connections list --tablefmt=tsv 2>/dev/null | head\r\nConn Id                       \tConn Type                  \tHost                     \tPort  \tIs Encrypted  \tIs Extra Encrypted  \tExtra\r\n'airflow_db'                  \t'mysql'                    \t'mysql'                  \tNone  \tFalse         \tFalse               \tNone\r\n'local_mysql'                 \t'mysql'                    \t'localhost'              \tNone  \tTrue          \tFalse               \tNone\r\n'presto_default'              \t'presto'                   \t'localhost'              \t3400  \tFalse         \tFalse               \tNone\r\n'google_cloud_default'        \t'google_cloud_platform'    \tNone                     \tNone  \tFalse         \tFalse               \tNone\r\n'hive_cli_default'            \t'hive_cli'                 \t'localhost'              \t10000 \tFalse         \tTrue                \t'gAAAAABdrxCP...jMAQ6LknDM8pc'\r\n'pig_cli_default'             \t'pig_cli'                  \tNone                     \tNone  \tFalse         \tFalse               \tNone\r\n'hiveserver2_default'         \t'hiveserver2'              \t'localhost'              \t10000 \tFalse         \tFalse               \tNone\r\n'metastore_default'           \t'hive_metastore'           \t'localhost'              \t9083  \tFalse         \tTrue                \t'gAAAAABdrxCP...ABWevIJL-Dto='\r\n'mongo_default'               \t'mongo'                    \t'mongo'                  \t27017 \tFalse         \tFalse               \tNone\r\n```\r\n\r\n### Tests\r\n\r\n- [x] My PR adds the following unit tests __OR__ does not need testing for this extremely good reason:\r\n\r\ntest_cli_list_users_with_args\r\ntest_cli_list_roles_with_args\r\ntest_cli_list_jobs_with_args (added arguments to the existing test)\r\ntest_cli_connections_list_with_args\r\ntest_pool_list\r\ntest_pool_list_with_args\r\n\r\n### Commits\r\n\r\n- [x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from \"[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)\":\r\n  1. Subject is separated from body by a blank line\r\n  1. Subject is limited to 50 characters (not including Jira issue reference)\r\n  1. Subject does not end with a period\r\n  1. Subject uses the imperative mood (\"add\", not \"adding\")\r\n  1. Body wraps at 72 characters\r\n  1. Body explains \"what\" and \"why\", not \"how\"\r\n\r\n### Documentation\r\n\r\n- [x] In case of new functionality, my PR adds documentation that describes how to use it.\r\n  - All the public functions and the classes in the PR contain docstrings that explain what it does\r\n  - If you implement backwards incompatible changes, please leave a note in the [Updating.md](https://github.com/apache/airflow/blob/master/UPDATING.md) so we can assign it to a appropriate release\r\n"},"comment":{"url":"https://api.github.com/repos/apache/airflow/issues/comments/545993770","html_url":"https://github.com/apache/airflow/pull/6400#issuecomment-545993770","issue_url":"https://api.github.com/repos/apache/airflow/issues/6400","id":545993770,"node_id":"MDEyOklzc3VlQ29tbWVudDU0NTk5Mzc3MA==","user":{"login":"sekikn","id":898388,"node_id":"MDQ6VXNlcjg5ODM4OA==","avatar_url":"https://avatars0.githubusercontent.com/u/898388?v=4","gravatar_id":"","url":"https://api.github.com/users/sekikn","html_url":"https://github.com/sekikn","followers_url":"https://api.github.com/users/sekikn/followers","following_url":"https://api.github.com/users/sekikn/following{/other_user}","gists_url":"https://api.github.com/users/sekikn/gists{/gist_id}","starred_url":"https://api.github.com/users/sekikn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sekikn/subscriptions","organizations_url":"https://api.github.com/users/sekikn/orgs","repos_url":"https://api.github.com/users/sekikn/repos","events_url":"https://api.github.com/users/sekikn/events{/privacy}","received_events_url":"https://api.github.com/users/sekikn/received_events","type":"User","site_admin":false},"created_at":"2019-10-24T16:17:49Z","updated_at":"2019-10-24T16:17:49Z","author_association":"CONTRIBUTOR","body":"@BasPH Thanks for the comment! Just updated the PR."}}
other: {"actor":{"display_login":"sekikn"}}