-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(capture): show output progress during capture #41
Conversation
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
There was a problem hiding this 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") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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") |
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") |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 <3875889+ccoVeille@users.noreply.github.com>
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
Closes #40