aws / aws/aws-sam-cli

Colored output from CI jobs on sam deploy

Open
#1,812 4 comments 8 reactions 0 assignees View on GitHub
area/deploy contributors/welcome type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

An aws sam-cli option to turn on/off color output would be useful when running the sam-cli in CI/CD pipeline.

Currently, [click](https://click.palletsprojects.com/en/7.x/) library strips ANSI color codes if the stream is not connected to a terminal, so the deploy output is not displayed in colored format when running via Jenkins CI pipeline.

A flag is needed to forcefully control the colored output.
`sam deploy --color` - Flag to turn on/off color output [on, off, auto]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.