Skip to content

script: add empty command.#46

Merged
tommyp1ckles merged 1 commit intocilium:mainfrom
tommyp1ckles:pr/tp/add-empty-cmd
Mar 28, 2025
Merged

script: add empty command.#46
tommyp1ckles merged 1 commit intocilium:mainfrom
tommyp1ckles:pr/tp/add-empty-cmd

Conversation

@tommyp1ckles
Copy link
Copy Markdown
Contributor

Simple command that checks if file or output streams are empty.

This provides quality-of-life improvement over having to define a empty file and 'cmp' against that.

Simple command that checks if file or output streams are
empty.

This provides quality-of-life improvement over having to
define a empty file and 'cmp' against that.

Signed-off-by: Tom Hadlaw <tom.hadlaw@isovalent.com>
@tommyp1ckles tommyp1ckles marked this pull request as ready for review March 21, 2025 17:38
@tommyp1ckles tommyp1ckles requested a review from a team as a code owner March 21, 2025 17:38
@tommyp1ckles tommyp1ckles requested review from pippolo84 and removed request for a team March 21, 2025 17:38
Copy link
Copy Markdown
Member

@pippolo84 pippolo84 left a comment

Choose a reason for hiding this comment

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

Overall LGTM, left a comment inline about a missing error handling.

Comment thread script/cmds.go
@tommyp1ckles tommyp1ckles requested a review from pippolo84 March 28, 2025 00:54
Copy link
Copy Markdown
Member

@pippolo84 pippolo84 left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@tommyp1ckles tommyp1ckles merged commit 7f3c86c into cilium:main Mar 28, 2025
1 check passed
@tommyp1ckles tommyp1ckles deleted the pr/tp/add-empty-cmd branch March 28, 2025 19:29
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