-
Notifications
You must be signed in to change notification settings - Fork 8
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
Refactor CLI #93
Refactor CLI #93
Conversation
This commit is a pretty substantial internal refactoring of the CLI implementation, but is purposefully designed not to break any backwards compatibility. A number of existing flags have been deprecated and removed from the CLI help text, but in fact are still present and work as they did before. This commit also introduces `hipcheck-macros`, a procedural macro helper crate for Hipcheck. Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit refactors the ready command to separate the different ready-checks from the result printing. The goal here is to give a better user experience with all results being reported together. Signed-off-by: Andrew Lilley Brinker <[email protected]>
This should hopefully fix the broken CLI test. It's also all been rebased on |
Haha looks like it broke some other tests. I'll have to debug it. |
Signed-off-by: Andrew Lilley Brinker <[email protected]>
This commit updates the tests for the CLI to use the new `CliConfig` API. This also involves deprecation of the old `resolve_{cache, config, data}` functions in the `session` module, as they're no longer doing anything especially meaningful. Signed-off-by: Andrew Lilley Brinker <[email protected]>
Signed-off-by: Andrew Lilley Brinker <[email protected]>
Signed-off-by: Andrew Lilley Brinker <[email protected]>
Realized that the existing tests actually no longer made sense with the CLI refactor. I've moved the key tests into the |
Signed-off-by: Andrew Lilley Brinker <[email protected]>
The `dirs` crate doesn't different config and data paths on MacOS and Windows, so we differentiate them ourselves to make sure we're not stuffing configuration and scripts into the same place. Signed-off-by: Andrew Lilley Brinker <[email protected]>
No description provided.