nimbella / aio-cli-plugin-runtime

Nimbella Fork of the Adobe I/O Runtime plugin for Apache OpenWhisk.
https://nimbella.com
Apache License 2.0
2 stars 1 forks source link

Refactor last activation banner logic. #24

Closed rabbah closed 3 years ago

rabbah commented 3 years ago

Description

Refactors logic which emits intra activation banners when separating multiple activation results or logs. This log is used with activation get --last --result|--logs and activation result --last [--limit N]. A --quiet flag will suppress the banner.

To use this banner logic with activation logs, a patch is needed in AIO https://github.com/adobe/aio-lib-runtime/issues/27.

Related Issue

See #23.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist:

rabbah commented 3 years ago

Happy to trust Rodric to write reasonable code.

with equally reasonable test 😅 - for some definition of reasonable.