Conversation
Co-authored-by: jiacai2050 <3848910+jiacai2050@users.noreply.github.com>
Co-authored-by: jiacai2050 <3848910+jiacai2050@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a new cowsay CLI binary to the ZigCLI suite, providing classic cowsay-style output (speech bubble + ASCII art) with a selectable face.
Changes:
- Introduces
src/bin/cowsay.zigimplementing bubble rendering and-f/--faceselection (cow/tux), plus unit tests. - Registers the new
cowsaybinary inbuild.zigso it participates in install/run/test steps.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/bin/cowsay.zig | New cowsay command implementation, includes bubble rendering logic and tests. |
| build.zig | Adds cowsay to the binaries list so it is built and tested. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
@copilot 修复ci的错误 |
…rors Co-authored-by: jiacai2050 <3848910+jiacai2050@users.noreply.github.com>
Fixed in 4ec7ba1. The issue was that |
|
@copilot 增加对应文档 |
Co-authored-by: jiacai2050 <3848910+jiacai2050@users.noreply.github.com>
Implements
cowsayas a new CLI binary — renders a speech bubble around a message and prints ASCII cow (or Tux penguin) art below it.Changes
src/bin/cowsay.zig: New binary with:writeSpeechBubble: single-line uses< text >, multi-line uses/,|,\side borders with padding to align all lines-f/--faceenum flag:cow(default) andtuxbuild.zig: Registerscowsayin the binary list (auto-wiresrun-cowsay,install-cowsay,test-cowsay)Usage
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
ziglang.org/usr/bin/wget wget -q REDACTED -O zig.tar.xz(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.