8000 feature idea: excluded_filenames · Issue #21 · githubocto/repo-visualizer · GitHub
[go: up one dir, main page]

Skip to content
feature idea: excluded_filenames #21
Closed
@swharden

Description

@swharden

I see excluded_paths is supported, but it would be fantastic to be able to exclude filenames (especially with wildcard support for partial matches) using something like excluded_filenames.

Perhaps this logic could be squeezed in here:

const excludedPathsString = core.getInput("excluded_paths") || "node_modules,bower_components,dist,out,build,eject,.next,.netlify,.yarn,.git,.vscode,package-lock.json,yarn.lock"
const excludedPaths = excludedPathsString.split(",").map(str => str.trim())
const data = await processDir(`./`, excludedPaths);

An example use case is excluded_filenames=*.Designer.cs,*.resx to exclude automatically-generated .NET files from large Windows Forms applications.

PS: consider adding a CONTRIBUTING.md to this repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0