-
Notifications
You must be signed in to change notification settings - Fork 178
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
feat: Adding SCM option for init command #2342
Conversation
I tested in the 3 SCMs here and works just fine. Let me know if unit tests would be needed for this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for your input!
Could you add it to the CLI documentation and add some tests? I would like to make sure it is as user friendly as possible by making it auto completing.
Added the use of |
@ruben-arts would you also like to ignore case in |
Yes please! |
} | ||
|
||
#[test] | ||
fn test_invalid_scm_values() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how much value this test adds but it doesn't hurt to have an extra test case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lovely
I'm sorry for my boldness. I sometimes work with multiple SCMs and found that this command lacked this feature. Let me know if it's aligned with the project. Feel free to close this PR, otherwise. 😄