Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --json flag to get command #65

Merged
merged 7 commits into from
Apr 28, 2023
Merged

Conversation

amolina-adobe
Copy link
Contributor

Note

This is a follow up to PR #61. A few minor revisions were required in addition to merging the now up-to-date develop branch. This PR should be merged in it's stead.

Description

Adds a --json flag to the api-mesh:get command.
This gets rid of the selected org, project, and workspace logs, and a prefix log before the json output.

Existing output and strings are unchanged for backwards compatibility.

How Has This Been Tested?

  • aio plugins link . in this PR branch
  • aio api-mesh:get
  • aio api-mesh:get --json

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation (this should auto update when you publish via npm pack)
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@amolina-adobe amolina-adobe merged commit 0945d1f into develop Apr 28, 2023
@amolina-adobe amolina-adobe deleted the get-command-json-flag branch April 28, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants