Skip to content

make whats_left.sh generate a yaml file for dashboard #1865

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

Closed

Conversation

mireille-raad
Copy link
Member

@mireille-raad mireille-raad commented Apr 12, 2020

Make whats_left.sh generate a yaml file that we can use for a dashboard/page. Ref issue #1671

I used yaml format because it can be read by jekyll.
https://jekyllrb.com/docs/datafiles/

use becomes whats_left.sh > whats_left.yaml

h() {
# uppercase input
header_name=$(echo "$@" | tr "[:lower:]" "[:upper:]")
echo "$GREEN$BOLD===== $header_name =====$NC"
header_name=$(echo "$@")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could have an option for whats_left.sh that makes it output yaml, rather than doing it by default?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, i will add an option for -o filename

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.

2 participants