Skip to content

feat: change unformatted option into output option for sam logs and sam traces#3606

Merged
mndeveci merged 5 commits intoaws:developfrom
mndeveci:change_unformatted_to_output
Feb 4, 2022
Merged

feat: change unformatted option into output option for sam logs and sam traces#3606
mndeveci merged 5 commits intoaws:developfrom
mndeveci:change_unformatted_to_output

Conversation

@mndeveci
Copy link
Contributor

Which issue(s) does this change fix?

Changes --unformatted option for sam logs and sam traces into --output option.

Why is this change necessary?

To give more familiar name with --output option. Users can choose to print output in text (default) format or in json format.

How does it address the issue?

By changing boolean flag (unformatted) into enum flag (output).

What side effects does this change have?

Users who are using --unformatted option should use --output json.

Checklist

  • Add input/output type hints to new functions/methods
  • Write design document (Do I need to write a design document?)
  • Write unit tests
  • Write/update functional tests
  • Write/update integration tests
  • make pr passes
  • make update-reproducible-reqs if dependencies were changed
  • Write documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mndeveci mndeveci merged commit 362a2ee into aws:develop Feb 4, 2022
mndeveci added a commit to mndeveci/aws-sam-cli that referenced this pull request Apr 5, 2022
…am traces (aws#3606)

* feat: change unformatted option into output option

* move default values into command definition to use with experimental flag

* fix unit tests & black formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants