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

feat(capture): show output progress during capture #41

Merged
merged 4 commits into from
Aug 29, 2024
Merged

Conversation

alegrey91
Copy link
Owner

Closes #40

Copy link
Collaborator

@ccoVeille ccoVeille left a comment

Choose a reason for hiding this comment

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

Typo with "output" in PR title and commit message

cmd/hunt.go Outdated
@@ -95,6 +95,7 @@ func init() {
huntCmd.MarkFlagRequired("file")

huntCmd.Flags().BoolVarP(&commandOutput, "include-cmd-output", "c", false, "Include the executed command output")
huntCmd.Flags().BoolVarP(&commandError, "include-cmd-error", "e", false, "Include the executed command error")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
huntCmd.Flags().BoolVarP(&commandError, "include-cmd-error", "e", false, "Include the executed command error")
huntCmd.Flags().BoolVarP(&commandError, "include-cmd-stderr", "e", false, "Include the executed command error")
Suggested change
huntCmd.Flags().BoolVarP(&commandError, "include-cmd-error", "e", false, "Include the executed command error")
huntCmd.Flags().BoolVarP(&commandError, "include-cmd-errors", "e", false, "Include the executed command error")

Copy link
Owner Author

Choose a reason for hiding this comment

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

We might change also the include-cmd-output to include-cmd-stdout to be consistent

Copy link
Owner Author

@alegrey91 alegrey91 Aug 28, 2024

Choose a reason for hiding this comment

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

I committed the wrong option 😅
Could you add the commit suggestion again? The one with stderr I mean

Copy link
Collaborator

Choose a reason for hiding this comment

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

You can simply edit locally

Co-authored-by: ccoVeille <[email protected]>
@alegrey91 alegrey91 changed the title feat(capture): show otuput progress during capture feat(capture): show output progress during capture Aug 28, 2024
Signed-off-by: Alessio Greggi <[email protected]>
@alegrey91 alegrey91 merged commit bb99b44 into main Aug 29, 2024
3 checks passed
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.

show output progress during capture
2 participants