Open sideangleside opened 6 years ago
Today we exit with non-zero exit code in the event of an error. Should we consider being more granular with our exit codes:
example, return 2 for 'system already registered' and 3 for 'unsupported puppet version'
2
3
@evgeni thoughts?
I think this is a good idea. :+1:
I wonder if we should follow https://github.com/theforeman/hammer-cli/blob/master/lib/hammer_cli/exit_codes.rb (at least where we can)
dilly dilly
Today we exit with non-zero exit code in the event of an error. Should we consider being more granular with our exit codes:
example, return
2
for 'system already registered' and3
for 'unsupported puppet version'