Skip to content

[CLI] --dry command to print out matched files and dest paths #1713

@addison-adler

Description

@addison-adler

It can be quite difficult to discern & debug bsconfig files arrays that are not working (when you expect them to work).

  • The only way to identify valid "pkg:/ paths produced by a bsconfig is to generate a build or experiment with auto-complete suggestions.
  • Neither option is viable if the bsc language extension or bsconfig file(s) are throwing errors

Proposed solution:

  • a command or flag (such as --dry or --files that prints out the list of
    • (1) the src files that are matched
    • (2) the resulting dest pkg:/ file paths
  • this command should not fail due to validation errors unless the error prevents the successful parsing of the files bsconfig data

note:
i'm gonna take a stab at implementing this today/tomorrow

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions