Skip to content

[Feature] - Add additional ways to ignore .md files in a repo #1081

@simarmol

Description

@simarmol

If these options exist I have not been able to find them in the docs.

I'd basically like to be able to have one/all of these:

  • A config file at the repo root that gets used by default and lets me define what --ignore-pattern gets used by default, i.e. globs of paths I'd like to ignore, and to have the option to extend the default ignores (node_modules? .gitignore?) rather than overwrite them
  • A property I can put in the yaml frontmatter of a markdown file to have runme ignore a particular file
  • Something I can put in an individual code block to have it be ignored by runme

My primary use case for this is that we've started committing skills for AI to our repo and they have a lot of code blocks. Like, a lot. By and large we don't want to run these ourselves and they are numerous. I know I can hide unnamed in the CLI and pass the --ignore-pattern flag every time, but I'd like additional, more explicit ways to totally ignore files and directories? An unnamed block can just be something someone forgot to name, so I don't really like that being my primary way to filter out AI commands. The --ignore-pattern flag requires me to alias the command or have to use a second script runner to run it with arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions