Skip to content

Should fail on non-zero exit #23

Closed
@aldy505

Description

@aldy505

Is your feature request related to a problem? Please describe

Currently sake does not exit with non-zero code (or, simply, fail) when the command we're executing exited with non-zero code.

It'd be nice if it would fail on non-zero code.

Describe the solution you'd like

I think the feature should be optional to remain backward compatible with existing users. So, to have sake fail on non-zero exit code, the user should incite another CLI options like --fail.

Additional context

The sake command that I use to produce this issue was sake run <command> --servers <server> --known-host-file <file>

Let me know if I was wrong about the exit behavior or any needed reproductions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions