Skip to content

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

@rubberduck203

Description

@rubberduck203

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions