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

scope doctor list doesn't report all available checks #179

Open
rubberduck203 opened this issue Jan 16, 2025 · 0 comments
Open

scope doctor list doesn't report all available checks #179

rubberduck203 opened this issue Jan 16, 2025 · 0 comments

Comments

@rubberduck203
Copy link
Collaborator

This is the current output of running scope doctor list on the examples directory.

cargo run -- doctor list --working-dir examples
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
     Running `target/debug/scope doctor list --working-dir examples`
Available checks that will run
  Name                          Description                                                 Path
- ScopeDoctorGroup/noop-1       Sleep Test to validate UI                                   /Users/chris.mcclellan/workspace/scope/examples/.scope/many-noops/noop-1.yaml
- ScopeDoctorGroup/noop-2       Sleep test to show UX                                       /Users/chris.mcclellan/workspace/scope/examples/.scope/many-noops/noop-2.yaml
- ScopeDoctorGroup/path-exists  Check your shell for basic functionality                    /Users/chris.mcclellan/workspace/scope/examples/.scope/reference-scripts.yaml
- ScopeDoctorGroup/templated    Silence any app specific MOTDs                              /Users/chris.mcclellan/workspace/scope/examples/.scope/doctor-group-templated.yaml

It does not include any targets that are labeled when-required, e.g. doctor-group-fail.yaml.

include: when-required

I would expect list to return all available targets, as I may want to run a single target with the only flag.

Perhaps add a column to the output that indicates whether each target is included by default or not?

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

1 participant