EasyEngine/easyengine

Commands with list of output items should allow multiple formats

Open

#1,387 opened on Feb 5, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)PHP (1,984 stars) (429 forks)batch import
good first issuekind/enhancement

Description

For example ee site info should allow output in different formats like yaml,json. This should happen to maintain parity with the other commands like ee site list, ee auth list global

Example:

ee site list --format=table
ee site list --format=json
ee auth list global --format=table
ee auth list global --format=json

Now,

# This works
ee site info example.com
# This doesn't work
ee site info example.com --format=json

Contributor guide