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

[RFE] Standardize Exit codes #247

Open
sideangleside opened this issue Apr 5, 2018 · 3 comments
Open

[RFE] Standardize Exit codes #247

sideangleside opened this issue Apr 5, 2018 · 3 comments
Milestone

Comments

@sideangleside
Copy link
Member

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'

@sideangleside
Copy link
Member Author

@evgeni thoughts?

@evgeni
Copy link
Member

evgeni commented Apr 16, 2018

I think this is a good idea. 👍

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)

@gearboxscott
Copy link

dilly dilly

@sideangleside sideangleside added this to the 1.7.0 milestone Aug 7, 2018
@evgeni evgeni modified the milestones: 1.7.0, 1.8.0 Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants