cobbler / cli

Independent CLI written in Go for the Cobbler server.
GNU General Public License v2.0
1 stars 4 forks source link

CLI exit status #19

Open SchoolGuy opened 3 years ago

SchoolGuy commented 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

SchoolGuy commented 1 week ago

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

https://github.com/spf13/cobra/issues/2124

SchoolGuy commented 1 week ago

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