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

CLI: Updated -sc option to specify colors for multiple series #50

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

guptarohit
Copy link
Owner

@guptarohit guptarohit commented Mar 30, 2024

-sc option updated to support colors for multiple series

asciigraph

above plot is rendered with following command:

{unbuffer` paste -d, <(ping -i 0.4 google.com | sed -u -n -E 's/.*time=(.*)ms.*/\1/p') <(ping -i 0.4 duckduckgo.com | sed -u -n -E 's/.*time=(.*)ms.*/\1/p') } | asciigraph -r -h 15 -w 60 -sn 2 -sc "blue,red" -c "Ping Latency Comparison: Google (Blue) vs. DuckDuckGo (Red)"

@guptarohit guptarohit self-assigned this Mar 30, 2024
@coveralls
Copy link

coveralls commented Mar 30, 2024

Pull Request Test Coverage Report for Build 8491983968

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.89%

Totals Coverage Status
Change from base Build 8488859763: 0.0%
Covered Lines: 350
Relevant Lines: 365

💛 - Coveralls

@guptarohit guptarohit changed the title CLI: Add options to specify series colors CLI: Updated -sc option to specify colors for multiple series Mar 30, 2024
@guptarohit guptarohit force-pushed the add-colors-for-series-cli branch from b1ebb78 to 5c21a9b Compare March 30, 2024 16:25
@guptarohit guptarohit merged commit 0992b36 into master Mar 30, 2024
8 checks passed
@guptarohit guptarohit deleted the add-colors-for-series-cli branch March 30, 2024 19:28
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