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

CLI exit status #19

Open
SchoolGuy opened this issue Oct 18, 2021 · 2 comments
Open

CLI exit status #19

SchoolGuy opened this issue Oct 18, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@SchoolGuy
Copy link
Member

Currently in the old CLI it is a major pain that it never returns a non-zero exit code. This behavior should improve with the new CLI.

Docs for this: https://cobbler.readthedocs.io/en/latest/cobbler.html#exit-status

@SchoolGuy SchoolGuy added the enhancement New feature or request label Oct 18, 2021
@SchoolGuy SchoolGuy added this to the V0.0.1 milestone Oct 18, 2021
@SchoolGuy SchoolGuy moved this to To do in Golang CLI Jun 15, 2024
@SchoolGuy
Copy link
Member Author

This issue seems to be discussed upstream. For our case it might be sufficient to use RunE but this has to be validated.

spf13/cobra#2124

@SchoolGuy SchoolGuy removed this from the V0.0.1 milestone Oct 28, 2024
@SchoolGuy
Copy link
Member Author

Removing from milestone as this is not important for the first release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants