Open SchoolGuy opened 3 years ago
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
This issue seems to be discussed upstream. For our case it might be sufficient to use RunE but this has to be validated.
RunE
https://github.com/spf13/cobra/issues/2124
Removing from milestone as this is not important for the first release.
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