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

Capture output for ExitCode 1 case #9

Open
parsonsmatt opened this issue Sep 15, 2023 · 0 comments · May be fixed by #15
Open

Capture output for ExitCode 1 case #9

parsonsmatt opened this issue Sep 15, 2023 · 0 comments · May be fixed by #15
Labels
enhancement New feature or request exec Issues relating to the exec sub command

Comments

@parsonsmatt
Copy link
Owner

Currently, failed commands report with essentially no information. ExitFailure 1.

It'd be cool to capture the last ~N lines of output potentially. Possibly a command line option, like:

hotel exec [--capture-output-on-exception [Numbers of lines to capture]]
@parsonsmatt parsonsmatt added enhancement New feature or request exec Issues relating to the exec sub command labels Sep 15, 2023
@parsonsmatt parsonsmatt linked a pull request Sep 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request exec Issues relating to the exec sub command
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant