Skip to content

Recursively search for scripts in custom scripts folder #121

Open
@chrisshiplet

Description

@chrisshiplet

Problem: I want to use custom scripts from multiple authors. In order to keep these scripts up to date, I'd like to maintain a custom scripts folder that contains several git repositories (e.g. set my custom scripts folder to ~/.boop and then have a folder inside there like chrisshiplet-boop-scripts containing my scripts) that way, I can easily pull changes and new scripts from these repositories.

Current Behavior: It looks like Boop only looks in the exact folder specified in the settings, rather than recursively descending the directory. This makes it difficult to manage scripts from multiple sources, because they have to be symlinked into my custom scripts folder.

Expected Behavior: Boop should recursively search for any js files in the custom scripts folder with valid Boop frontmatter in them and load them as scripts.

If there's another way to easily accomplish this, I'm all ears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions